[mythtv-users] Scary permission problem
Hika van den Hoven
hikavdh at gmail.com
Mon Dec 18 16:54:43 UTC 2017
Hoi Thomas,
Monday, December 18, 2017, 5:37:06 PM, you wrote:
> 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.
Technically a directory is a special type of executable file! If you
are not allowed to execute it, you can not read it. Goes down to the
long forgotten time when first directories were invented on Unix.
> 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 {}\;
> _______________________________________________
Tot mails,
Hika mailto:hikavdh at gmail.com
"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"
De lerende Mens
More information about the mythtv-users
mailing list