How to set new files with execution permissions?

Get help, report and discuss bugs.
Post Reply
sjaak69
Posts: 2
Joined: 14 Sep 2017, 19:56

How to set new files with execution permissions?

Post by sjaak69 » 14 Sep 2017, 19:59

I use this link:
http://www.webune.com/forums/umask-calculator.html

to calculate the umask settings for nzbget. However, I want my files with unix permissions 777. That is, read,write and execution permissions for all owner, group and anyone else.

How can I achive this?

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: How to set new files with execution permissions?

Post by hugbug » 14 Sep 2017, 20:07

Set it to "0".

sjaak69
Posts: 2
Joined: 14 Sep 2017, 19:56

Re: How to set new files with execution permissions?

Post by sjaak69 » 15 Sep 2017, 22:26

Already tried. Won't work. The execution permissions are always empty. Follow my link. There you can see that with umask you can't set execution permission. However, when using apps like sonarr I can give permissions 777 (unix) which will result in full execution permissions for everyone. I want to do the same with nzbget, but how? I can't with only umask permissions...

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: How to set new files with execution permissions?

Post by hugbug » 16 Sep 2017, 06:54

Write a post-processing script with recursive chmod command.
https://nzbget.net/extension-scripts
https://nzbget.net/post-processing-scripts

Post Reply

Who is online

Users browsing this forum: No registered users and 54 guests