[mythtv-users] Scary permission problem
Thomas Boehm
mythtv-users at lists.boehmi.net
Mon Dec 18 16:37:06 UTC 2017
Am 18.12.2017 um 17:04 schrieb Tim Draper:
> ---- On Sun, 17 Dec 2017 21:24:07 +0000 Hika van den Hoven <hikavdh at gmail.com> wrote ----
> > You cannot use that with the -R switch as it will remove the x
> > attribute on the directories making them inaccessible!
----------------------^^^^^^^^^^^
> >
> do you need execute on video files - i thought read would be enough?
> i was always on the mindset that execute is for executable files and scripts. cant say i've explicitly tested it on video files but 80% sure i'm RW on my video dir.
The d i r e c t o r i e s need to be "executable". Otherwise you won't
be able to access the files inside it. So instead of
chmod -R 660 /path/to/videos
you should use
chmod -R o-rw /path/to/videos
or
find /path/to/videos -type f chmod 660 {}\;
More information about the mythtv-users
mailing list