I had sabnzb working but I have made permission changes and reinstalled and now it does not work as before. Any file I download does not get execute permissions. Folder has all permissions. In my settings I have 777 permissions. I also use sickbeard but the issue happens even when no script is used. What could be affecting permissions like this?
Sabnzb is installed on Synology NAS, version 0.7.14-2
Here's the output from the script:
Loading config from /usr/local/sickbeard/share/SickBeard/autoProcessTV/autoProcessTV.cfg
Opening URL: http://localhost:8081/home/postprocess/ ... ads%sample
<html>
<head>
<title>Access denied</title>
</head>
<body>
<br/>
<font color="#0000FF">Error 401 Unauthorized: You need to provide a valid username and password.</font>
</body>
</html>
No execute permissions on completed files (folders have 777)
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.
-
dominicmghuigyhj
- Newbie

- Posts: 5
- Joined: August 23rd, 2013, 7:02 am
Re: No execute permissions on completed files (folders have
"Any file I download does not get execute permissions." ... why do you want *downloaded* files to have execute permission?
-
dominicmghuigyhj
- Newbie

- Posts: 5
- Joined: August 23rd, 2013, 7:02 am
Re: No execute permissions on completed files (folders have
Without execute permissions sickbeard script fails. Same goes for manual processing in sickbeard and XBMC media center cannot play those files. I did'nt think it needed execute permissions but it seems like it does because as soon as I apply execute permissions everything works. I am setting permissions to 777 so I don't understand why there are no execute permissions regardless whether I actually need it or not.
Re: No execute permissions on completed files (folders have
I don't understand why sickbeard would need execute permissions on downloaded files. But I must say I know nothing about sickbeard.
Did you read http://wiki.sabnzbd.org/unix-permissions ? And did you fill out '0777' (which is something else than '777')?
Did you read http://wiki.sabnzbd.org/unix-permissions ? And did you fill out '0777' (which is something else than '777')?
-
dominicmghuigyhj
- Newbie

- Posts: 5
- Joined: August 23rd, 2013, 7:02 am
Re: No execute permissions on completed files (folders have
I did read it but did not think 0777 was different from 777. Changed to 0777 not waiting for download to finish to test, will take a while with my net 
-
dominicmghuigyhj
- Newbie

- Posts: 5
- Joined: August 23rd, 2013, 7:02 am
Re: No execute permissions on completed files (folders have
No luck, still no execute permissions on the files. I assume No restart was needed for new 0777 permission settings to apply. Any idea what else it could be?
Re: No execute permissions on completed files (folders have
I tried it out myself (SABnzbd 0.8.x), and the result is:
Directories are drwxrwxrwx
Files are -rw-rw-rw-
So the same as you. Now back to the info page, which says:
"You need to specify the settings for folders, so with the X bits set, SABnzbd will automatically remove any X bits for the files."
Does that state files do not get the X bit?
Directories are drwxrwxrwx
Files are -rw-rw-rw-
So the same as you. Now back to the info page, which says:
"You need to specify the settings for folders, so with the X bits set, SABnzbd will automatically remove any X bits for the files."
Does that state files do not get the X bit?
-
dominicmghuigyhj
- Newbie

- Posts: 5
- Joined: August 23rd, 2013, 7:02 am
Re: No execute permissions on completed files (folders have
I honestly do not know about x-bits as I am new to linux. I have accidentally discovered something though. The sub-folder that sabnzb was using was created manually (within windows) and so the owner was "user1" instead of "sabnzbd". When the folder was created automatically by sickbeard the owner was "sickbeard" and the files had execute permissions after sabnzbd finished downloading it. "user1" is super admin and had all permissions so maybe that messed with sabnzbd.