New Folder Permissions
Posted: Thu Jul 05, 2018 12:13 pm
I have a 3B+ running as a Plex server and generally speaking everything works great.
I also have a WD My Passport Pro Wireless that I use as a "portable server' since it can install Plex on it. The WD doesn't have the power to do transcoding so I optimize the files for Universal TV in order to easily stream them when I'm on the road/on vacation.
When I try to have the pi run the optimization and create the optimized files on my HDD (which a USB external HDD attached to my router) it fails because of permissions. The folders it creates to optimize the files are created as belonging to the root owner and group with "write" permissions only for "owner and group" so when Plex, which is it's own user, tries to write the new file it fails for lack of permission.
I've managed to chance the permissions of the general "Plex" folder to allow anyone to write to it. But the subfolders inside that that are created as part of the optimization process have the more restrictive permissions.
So my question is, how do I make it so that if I change the permissions/owner for a folder those properties are also inherited by folders subsequently created inside it?
I also have a WD My Passport Pro Wireless that I use as a "portable server' since it can install Plex on it. The WD doesn't have the power to do transcoding so I optimize the files for Universal TV in order to easily stream them when I'm on the road/on vacation.
When I try to have the pi run the optimization and create the optimized files on my HDD (which a USB external HDD attached to my router) it fails because of permissions. The folders it creates to optimize the files are created as belonging to the root owner and group with "write" permissions only for "owner and group" so when Plex, which is it's own user, tries to write the new file it fails for lack of permission.
I've managed to chance the permissions of the general "Plex" folder to allow anyone to write to it. But the subfolders inside that that are created as part of the optimization process have the more restrictive permissions.
So my question is, how do I make it so that if I change the permissions/owner for a folder those properties are also inherited by folders subsequently created inside it?