spksrc icon indicating copy to clipboard operation
spksrc copied to clipboard

sabnzbd 3.6.0: DSM7 permissions

Open vierins opened this issue 3 years ago • 7 comments

Is this a new Bug?

  • [X] I checkd that the bug hasn't been reported before

Package Name

sabnzbd

Package Version

3.6.0

Device Model

ds118

Device Architecture

AArch64 (ARMv8)

Firmware Version

DSM 7.1-42661 Update 3

What happened?

The folders are using the correct inherent permissions, but my files are still using "sc-sabnzbd" and "Everyone". The permissions will not set correctly if you let sabnzb sort your tv series.

The permission on the folder tab are empty.

Reproduction steps

.

Install Log

.

Service Log

No response

Other Logs

No response

vierins avatar Jul 16 '22 20:07 vierins

This is not a bug.

As of DSM 7 Synology is using ACL's for granting permissions. SabNzbd understands only standard Linux permissions, so if you let SabNzbd change permissions it wil not function as you expected.

BenjV avatar Jul 28 '22 07:07 BenjV

Sabnzbd should not set any permissions. It should use the permissions of the containing folder.

vierins avatar Jul 28 '22 08:07 vierins

As far as I know will SabNzbd only change the permissions if you configure that in it's settings.

But what permissions did you expect? Because owning the files by sc-sabnzbd is the way it should work. And I assume that the empty permission on the folder is what you see in Winscp, is because Winscp cannot handel ACL's so it displays nothing.

Maybe read this: https://github.com/SynoCommunity/spksrc/wiki/Permission-Management

BenjV avatar Jul 28 '22 09:07 BenjV

Maybe you don't understand my trouble. ex. movies: Sabnzd moves the extracted folder to the movie folder. The new folder inherits the permissions of the movie folder. Fine. ex. tv series: Sabnzd moves the extracted file the series->episodes folder. The series folder inherits the permission of the tv-series folder. The episodes folder didn't get the persmission. sc-sabnzbd ist the owner and the only user who has read/write permissions. Jellyfin, Plex or whatever are not able to play the files.

vierins avatar Jul 28 '22 11:07 vierins

If you give the system internal user sc-jellyfin and sc-plex permissions on the "tv series" folder then they will have access to all folders and files created below that folder.

Beware that maybe not the case is you do that afterwards, they you should apply those permissions then via for example File Station

BenjV avatar Jul 28 '22 14:07 BenjV

If you give the system internal user sc-jellyfin and sc-plex permissions on the "tv series" folder then they will have access to all folders and files created below that folder.

That's not true

vierins avatar Jul 28 '22 14:07 vierins

Here it is true

BenjV avatar Jul 28 '22 15:07 BenjV

@Safihre any hints on this?

hgy59 avatar Apr 25 '23 05:04 hgy59

Too long ago.. We changed quite some things since. Closing this.

Safihre avatar Apr 25 '23 06:04 Safihre