Say I've got a folder called "Media" shared out, me and 'mediauser' have read/write, and everyone else has no access.
Now, say that /Media/Movies exists, the permissions for Movies is Me - read/write, everyone else read only.. and mediauser is absent from the list.
So, not only does Movies not allow mediauser to write to that folder(directory), but it also allows 'everyone' to read it.
This is an odd issue for me. Yes I can go to the parent container and tell it to apply permissions to everything inside of it, but i'd have to do that every time a new file or directory is made.
This is ESPECIALLY apparent with samba mounts. Say /Media/Movies/The Big Lebowski.mp4 has permissions of me (read/write), and everyone else (read) but mediauser (who is attached by SMB) has no permissions (Because they are not inherited). You'd think he'd fall into the 'everyone else' category to be able to read/stream that file.. however that is NOT the case.
If I add 'mediauser' as a readable permission on "The Big Lebowski.mp4", then yes I can read/stream it.
Why are parent permissions for shared folders not inherited for everything contained within it, both old and new?
Now, say that /Media/Movies exists, the permissions for Movies is Me - read/write, everyone else read only.. and mediauser is absent from the list.
So, not only does Movies not allow mediauser to write to that folder(directory), but it also allows 'everyone' to read it.
This is an odd issue for me. Yes I can go to the parent container and tell it to apply permissions to everything inside of it, but i'd have to do that every time a new file or directory is made.
This is ESPECIALLY apparent with samba mounts. Say /Media/Movies/The Big Lebowski.mp4 has permissions of me (read/write), and everyone else (read) but mediauser (who is attached by SMB) has no permissions (Because they are not inherited). You'd think he'd fall into the 'everyone else' category to be able to read/stream that file.. however that is NOT the case.
If I add 'mediauser' as a readable permission on "The Big Lebowski.mp4", then yes I can read/stream it.
Why are parent permissions for shared folders not inherited for everything contained within it, both old and new?