Page 1 of 1

script to set permissions...

Posted: March 16th, 2008, 9:32 am
by jeff_porter
Hello all,

I'm still running 3.1, but I have an issue with permissions on NAS.
SAB is running as root, which is fine, but when stuff is downloaded it is read/write/delete for root and no one else.

My ftp user on box has read permission on the root folder, but these permissions does get appied to any sub folders created.

SO....

Can anyone give me some guidance on how/where to setup a post processing script to do a chmod on a download when its completed?

Cheers
Jeff

Re: script to set permissions...

Posted: March 16th, 2008, 10:58 am
by DeXeS
in 0.3.3 (think also in 0.3.1) you can set in the configuration screen the permissions.

and else when thats not in 0.3.1 use the following wiki page to start it with commandline:
http://sabnzbdplus.wiki.sourceforge.net ... ermissions

Edit:
the above url only works when using unix kind of system.

Re: script to set permissions...

Posted: March 19th, 2008, 3:44 pm
by rascalli
3.1 also had the permission , otherwise you can always add it to the ini.

see this post : http://forums.sabnzbd.org/index.php?topic=288.0

Re: script to set permissions...

Posted: March 19th, 2008, 4:43 pm
by DeXeS
Note that if you set it like that link (permissions = 0777), all users can do anything in download done folder. Search the internet for unix permissions if you don't already know that ;).