Page 1 of 1

OVM: transmission-daemon postprocess permissions

Posted: 23 Apr 2016, 14:04
by lxpin
Good day,
i spent several days trying to make transmission to start postprocess.sh with no luck ((

1) i run Openmediavault 2.2.1 (debian). i didn't create user home folder
2) path to filebot script: /usr/share/filebot/script.sh
i also tried both:

Code: Select all

chown -R :debian-transmission /usr/share/filebot 
chown -R debian-transmission /usr/share/filebot
sudo chmod 775 /usr/share/filebot
3) when download done or when i tried

Code: Select all

sudo -u debian-transmission ./script.sh.
result:

Code: Select all

   SEVERE: Unexpected error during startup
	    java.nio.file.AccessDeniedException: /home/debian-transmission


...... and 

java.nio.file.AccessDeniedException: /.filebot


5) i made "sudo adduser debian-transmission root" and have
id debian-transmission:

Code: Select all

uid=111(debian-transmission) gid=115(debian-transmission) groups=115(debian-transmission),0(root),100(users)

it seems i made a mess with priveleges (as i am a nooob).

Could you advise what privileges should have users here / and which access rights should have folders.
Maybe i should move script or log file (but where?)

Thanks a lot in advance

Re: OVM: transmission-daemon postprocess permissions

Posted: 23 Apr 2016, 20:54
by lxpin
That helped me:

Code: Select all

sudo chown debian-transmission -R /home/debian-transmission/
sudo chown -R debian-transmission /usr/share/filebot
As result it works, however not sure i made everything right anyway.