Alan Smithee
Dabbler
- Joined
- Feb 24, 2015
- Messages
- 13
I've been through a bunch of HOWTOs and threads on how to work out jail permissions when they need to share a common directory, but I am at a point where I might need a little help.
SABNZBD uses the jailed user id "media" which has a UID of 816. It creates files in directories that SONARR is able to see, move and read (which is good). SONARR puts the file into a directory that I need to be owned by the non-jailed user "nobody" (id 65534). "Nobody" is the default user for CIFS across all CIFS shares, so I need to keep it that way. So even though the jails can share files, I need CIFS to also be able to read/write/update the files created by the jails.
My questions are:
- Is it possible to change the id of who SABNZBD/SONARR is running as? (for example, I'd like it to run as the "nobody" id in the jail as it shares the same id as the non jail user "nobody" and would make CIFS happier.
- I do not want to constantly have to do a chmod / chown for every new directory or file created. (unless that is somehow easily automated)
- I was thinking I could create a non-jail user "media" (816) and force CIFS to that user on that share point (if there is a setting in the "Auxiliary Parameters" of the share point config that would allow it)
Thanks for any help or advice.
SABNZBD uses the jailed user id "media" which has a UID of 816. It creates files in directories that SONARR is able to see, move and read (which is good). SONARR puts the file into a directory that I need to be owned by the non-jailed user "nobody" (id 65534). "Nobody" is the default user for CIFS across all CIFS shares, so I need to keep it that way. So even though the jails can share files, I need CIFS to also be able to read/write/update the files created by the jails.
My questions are:
- Is it possible to change the id of who SABNZBD/SONARR is running as? (for example, I'd like it to run as the "nobody" id in the jail as it shares the same id as the non jail user "nobody" and would make CIFS happier.
- I do not want to constantly have to do a chmod / chown for every new directory or file created. (unless that is somehow easily automated)
- I was thinking I could create a non-jail user "media" (816) and force CIFS to that user on that share point (if there is a setting in the "Auxiliary Parameters" of the share point config that would allow it)
Thanks for any help or advice.
Last edited: