Page 1 of 1

Docker / Synology DSM Permissions hell

Posted: November 25th, 2021, 12:30 pm
by theazz
I'm sorry if this isn't right, I've googled for days and I'm really struggling.

I've got Sab 3.4.2 in docker, using the LinuxServer image, DSM 6.2.4-25556. The docker uses the admin user I use.

In short, all the files SAB makes, even the test downloads, as in, files and folders in the "Incomplete" folder. Have this weird "Custom" permissions set on it, where all permissions are allowed EXCEPT for "Change Permission", "Take Ownership", and, crucially, "Delete". No idea where this "Custom" profile is, I've looked everywhere, it's applying to me, the admin, and the admin groups, and overriding the defaults being inherited from the parent folder.

This means I can't delete shows from Plex, amongst other things.

If i just make a random file with DSM File station or from windows as this user, they get my expected permission of "Full Control".

This is the case with incomplete downloads, folder and files, and complete. Sab can't seem to change the complete download folder permission whether is set that on or not. I've tried setting Permissions for completed downloads to 777 but doesn't change anything.

Thanks in advance,

Re: Docker / Synology DSM Permissions hell

Posted: November 26th, 2021, 4:48 am
by sander
It's a docker / synology thing: from docker you can specify the user id that should be used. See https://vsupalov.com/docker-shared-permissions/ and full discussion https://stackoverflow.com/questions/265 ... missions-o ... not for the faint of heart.

But, maybe, as a workaround: Via config/folders/#permissions ... set "Permissions for completed downloads" to 777. Maybe that makes the directories and files world-readable/writable.

Re: Docker / Synology DSM Permissions hell

Posted: November 30th, 2021, 1:52 pm
by sander
And?