portainer on linux sabnzbd folder perms .. i dunno anymore

Get help with all aspects of SABnzbd
Forum rules
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.
Post Reply
Angelus
Newbie
Newbie
Posts: 2
Joined: April 28th, 2021, 6:19 am

portainer on linux sabnzbd folder perms .. i dunno anymore

Post by Angelus »

Good Day

I hope that you are well

I've been busy learning my linux system and i have gotten much further then last time and I'm stuck with this one issue that i just can not work out.
i have read so many wiki pages lol i just don't know anymore.

I'm running portainer on endevouros (terminal centric arch based distro) and i have sabnzbd installed and sitting at the setup wizard at the folders section, and i keep getting an error of the folders can not be created when trying to enter my destination folders into the fields.

i have 2 users being sabnzbd and angelus who are both part of a group called media
[angelus@Angelus ~]$ id sabnzbd
uid=967(sabnzbd) gid=1002(media) groups=1002(media)
[angelus@Angelus ~]$ id angelus
uid=1000(angelus) gid=1001(angelus) groups=1001(angelus),3(sys),998(wheel),984(users),982(rfkill),1000(autologin),1002(media)
in portainer I'm using uid=1000 and gid=1001

when trying to change the group on the drive below it doesn't take, if i go right click properties and then go permissions and change the group to "media" thinking that perhaps then sabnzbd can do what it needs to, being that is part of the "media" group
[root@Angelus EX300]# ls -al /run/media/angelus/EX300/
total 100504
drwxrwxrwx 1 angelus angelus 20480 Apr 28 09:52 .
drwxr-x---+ 4 root root 80 Apr 28 12:48 ..
drwxrwxrwx 1 angelus angelus 4096 Sep 29 2018 '$RECYCLE.BIN'
drwxrwxrwx 1 angelus angelus 0 Apr 28 09:52 Downloads
drwxrwxrwx 1 angelus angelus 0 Apr 28 09:52 Incomplete
drwxrwxrwx 1 angelus angelus 101240832 Apr 15 18:07 new
drwxrwxrwx 1 angelus angelus 12288 Apr 27 18:21 'New folder'
drwxrwxrwx 1 angelus angelus 1523712 Apr 27 16:28 nzb
drwxrwxrwx 1 angelus angelus 4096 Sep 14 2017 RECYCLER
drwxrwxrwx 1 angelus angelus 4096 Aug 10 2018 'System Volume Information'
drwxrwxrwx 1 angelus angelus 0 Apr 27 15:19 .Trash-1000
i'm trying to point sabnzbd folders to "/run/media/angelus/EX300/Downloads/" and "/run/media/angelus/EX300/Incomplete/" but then is says it can not create those folders

in portainer i have it set in volume settings like this ;
container /config
host /portainer/Files/Appdata/Config/Sabnzbd

container /downloads
host /run/media/angelus/EX300/Downloads/

container /incomplete-downloads
host /run/media/angelus/EX300/Incomplete/
a few things that i remember that i have done;

mmm i did change the umask of that above drive to 002 but now i see its back to 0022, btw the drive is an external usb drive that i'm wanting to use
[root@Angelus EX300]# umask
0022
[root@Angelus EX300]# umask -S
u=rwx,g=rx,o=rx
apologies for the long post but I'm trying to provide as much info as i can

many thanks for you assistance
User avatar
jcfp
Release Testers
Release Testers
Posts: 986
Joined: February 7th, 2008, 12:45 pm

Re: portainer on linux sabnzbd folder perms .. i dunno anymore

Post by jcfp »

Angelus wrote: April 28th, 2021, 7:16 amwhen trying to change the group on the drive below it doesn't take
Judging by its content that disk is probably ntfs formatted, which lacks support for posix permissions. The permissions shown are just a fake overlay.
drwxr-x---+ 4 root root 80 Apr 28 12:48 ..
The permissions on the parent dir look problematic. To access a subdir, you need access to the entire filesystem tree right up to that point; something only the root user and group have in this case - unless these are hidden in the additional acl layer (indicated by that +). Either way, this doesn't look like a sabnzbd problem.
Angelus
Newbie
Newbie
Posts: 2
Joined: April 28th, 2021, 6:19 am

Re: portainer on linux sabnzbd folder perms .. i dunno anymore

Post by Angelus »

thank you very much for the reply i really appreciate it

curse ntfs lmao ... at least i can do something about that ... i'll get on changing them to ext4 .. again thanks alot ;D
Post Reply