hi,
i use sabnzbd on a linux server.
can i change the the owner group of created files ? (now files created is root:root right)
juste change permission is not the better solution but perhaps the only one ?
change the group of downloaded files ?
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Re: change the group of downloaded files ?
Run SABnzbd under the user account that should own the files.
There's no need to run it as root (it's safe if you don't).
There's no need to run it as root (it's safe if you don't).
Re: change the group of downloaded files ?
ok thx,
i'm on debian server.
i use the commande line "python /.../.../sabnzbd.py -f /.../.../sabnzbd.ini -d" to run it on the boot,
do you know how to launch it with a specific acount ?
i'm on debian server.
i use the commande line "python /.../.../sabnzbd.py -f /.../.../sabnzbd.ini -d" to run it on the boot,
do you know how to launch it with a specific acount ?
Re: change the group of downloaded files ?
See the Wiki: http://sabnzbd.wikidot.com/install-as-a-unix-daemon
The crucial bit is:
The crucial bit is:
Code: Select all
/usr/bin/sudo -u PUT-USER-HERE -H /usr/local/src/SABnzbd/SABnzbd.py -d -f /home/PUT-USER-HERE/.sabnzbd/sabnzbd.ini
Re: change the group of downloaded files ?
thx a lot for the links,
on debian the great command is su -c 'python..............' user
also i do this :
#!/bin/sh
case "$1" in
start)
echo "Starting SABnzbd."
su -c ' /usr/local/src/SABnzbd/SABnzbd.py -d -f /home/sabuser/.sabnzbd/sabnzbd.ini' user
;;
stop)
echo "Shutting down SABnzbd."
/usr/bin/wget -q --delete-after "http://HOSTADDRESS:PORT/sabnzbd/api?mode=shutdown&apikey=ENTERAPIKEYHERE"
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
exit 0
and it works perfectly
on debian the great command is su -c 'python..............' user
also i do this :
#!/bin/sh
case "$1" in
start)
echo "Starting SABnzbd."
su -c ' /usr/local/src/SABnzbd/SABnzbd.py -d -f /home/sabuser/.sabnzbd/sabnzbd.ini' user
;;
stop)
echo "Shutting down SABnzbd."
/usr/bin/wget -q --delete-after "http://HOSTADDRESS:PORT/sabnzbd/api?mode=shutdown&apikey=ENTERAPIKEYHERE"
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
exit 0
and it works perfectly