I am running Sabnzbd on arch linux. accessing through a mac desktop.
I am having user rights issues (somewhat new at archlinux) SABNZBD saves all files as user and group sabnzbd. But when I go to the share via my mac, and I try and delete a file says I don’t have user rights. User name is david. I have added that name to the sabnzbd user group also i believe.
I have a script that goes and changes all ownerships to all directories and files to david:sabnzbd (via a find and chmod command) becomes a Pain to constantly run that script
What I am looking for is Sab when completed the d/l it saves file as brian:sabnzbd user rights. I think I am asking/saying that correctly. When I go to the folder that is created (where file saves to) it has owner as sabnzbd:sabnzbd and after run script it says david:sabnzbd.
What I have tried through research
1) went to sabnzd.service and changed user=david and left group=sabnzbd. When tried to reload sab on mac (went into linux and stop and start the service) sab would not load. Went back and changed the setting back to default. Loads up again.
2) I looked at my smb.conf file. but I don't want to give guest access to everything.
I am not sure where to look. I know this is an ownership issue in linux and I am sorta new to arch linux. trying to wrap my head around it and understand how Sab saves files or if I can alter how it saves files?
Thanks for any advice.
User rights issues
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.
Re: User rights issues
Files downloaded will be owned by the user running sab, as you had already figured out judging from 1). Now I don't use arch linux so I can't be sure here, but the service not loading after your change probably is a permissions issue as well. In particular, if the sab package on arch configures the service to use some global configuration (sabnzbd.ini, internal administration files and/or download dirs), you may have to also adjust ownership of those files and dirs to prevent the program from being locked out when running under that 'david' account, or alternatively point the service to some location where user 'david' has full access (typically the home dir).
