You are not logged in.
I'm trying to change the user that sickbeard starts with to root by modifying the sickbeard file.
However, after I execute
sudo systemctl daemon-reloadand restart sickbeard.service, it's still run as the user "sickbeard" according to htop.
EDIT: I changed the service file to User=root but it still doesn't seem to change anything.
Last edited by brotatos (2012-07-16 01:48:37)
Offline
What reason do you have for wanting to run this software as root? <obligatory pronouncements on the danger of running software as root>
Is this because of some file permissions trouble?
Offline
Yes, file permissions trouble. I tried creating a group called "sickbeard" and putting the user sickbeard and my user in it then chown'ing the relative folders to :sickbeard. However, that didn't seem to work either.
Offline
the user needs +x on any parent folders too. Running it as root is NOT a valid 'fix'.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Is there a way to allow the group rather than user have +x permissions on the parent folders?
Offline
sure, chown g+x
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
chmod g+x didn't seem to help for /home/*. Sickbeard still can't create directories for shows I add.
Here's /home: http://sprunge.us/DhPU
And here's /home/robin/: http://sprunge.us/ZNRY
Offline
I suggest keeping the shared stuff out of $HOME, eg in /home/shared_media, and add both slickbeard and your user to a group that owns the dir (and use 770 permission on the dir)
If you really want to keep the stuff in $HOME, then I suggest ACL instead.
Last edited by Mr.Elendig (2012-07-15 23:14:57)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Thanks! I'll be doing that.
Offline
Sickbeard was able to create folders under /home/media; however, it was unable to rewrite the filenames.
Here are the permissions for /home:
http://sprunge.us/WhJS
EDIT: Solved it by doing a
chmod 755 -R /home/media.Last edited by brotatos (2012-07-16 01:47:33)
Offline