Tsaukpaetra
Patron
- Joined
- Jan 7, 2014
- Messages
- 215
So... I'm trying to run certain plugins that write files (such as btsync and transmission) as the user nobody.wheel (so it can write to my shares in a manner that anyone can open and subsequently modify resultant files).
By default each of the apps mentioned (and likely almost all others) are configured to run as their own user (for example, user 817 aka btsync for btsync).
That's nice, except of course the default permissions mean that only that particular app can write/modify the files! Practically useless because I can only manage files within that app... maybe (most apps don't provide the level of usability I typically require).
Now, I can usually tell the program to run as another user in the rc.conf file (for example,
However, this totally breaks the plugin-ness of the plugin, because now the control process apparently can't see the pid? I dunno, hard to figure out why, but the server just returns 500 (internal server error) when I do it.
Anyways, it seems like it should be fairly straightforward to properly add support for setting and managing these rc variables.
How can I get this properly implemented? It just gets tiring having to regularly
By default each of the apps mentioned (and likely almost all others) are configured to run as their own user (for example, user 817 aka btsync for btsync).
That's nice, except of course the default permissions mean that only that particular app can write/modify the files! Practically useless because I can only manage files within that app... maybe (most apps don't provide the level of usability I typically require).
Now, I can usually tell the program to run as another user in the rc.conf file (for example,
Code:
btsync_user="nobody" btsync_group="wheel"
However, this totally breaks the plugin-ness of the plugin, because now the control process apparently can't see the pid? I dunno, hard to figure out why, but the server just returns 500 (internal server error) when I do it.
Anyways, it seems like it should be fairly straightforward to properly add support for setting and managing these rc variables.
How can I get this properly implemented? It just gets tiring having to regularly
Code:
find Games/ -type f -print0 | xargs -0 chmod 777