appdata permissions changed?


jfs9112

Recommended Posts

Hello,

 

I have been unable to access most of my dockers and after checking the log I saw errors regarding permissions. I fired up the terminal and noticed that all the dockers without all permissions enabled were the ones I could not connect to. The issue appears to be limited to binhex dockers.

 

root@Tower:/mnt/cache/appdata# ls -la
total 16
drwxrwxrwx 1   1000  1000 374 Nov 21 19:13 ./
drwxrwxrwx 1 nobody users  40 Nov 21 00:41 ../
drwxrwxrwx 1   1000  1000  74 May  7  2020 Firefox/
drwxrwxr-x 1   1000  1000 316 Nov 19 07:43 binhex-emby/
drwxrwxr-x 1   1000  1000 188 Oct 29 16:18 binhex-jellyfin/
drwxrwxr-x 1   1000  1000  64 Dec  7  2019 binhex-krusader/
drwxrwxr-x 1   1000  1000 434 Nov 19 14:46 binhex-lidarr/
drwxrwxr-x 1   1000  1000 106 Jul 15  2019 binhex-plex/
drwxrwxr-x 1   1000  1000 474 Nov 19 17:44 binhex-radarr/
drwxrwxr-x 1   1000  1000 334 Aug 30 22:41 binhex-sabnzbdvpn/
drwxrwxr-x 1   1000  1000 450 Nov 19 15:35 binhex-sonarr/
drwxrwx--- 1   1000  1000 208 Sep 10 10:50 cstrikego/
drwxrwx--- 1   1000  1000 126 Oct 17 22:48 killingfloor2/
drwxrwx--- 1   1000  1000 110 Oct 22 07:43 steamcmd/
drwxrwxrwx 1   1000  1000 150 Apr 11  2020 swag/
drwxrwxrwx 1   1000  1000 108 Nov 21 07:41 transmission/
drwxrwxrwx 1   1000  1000  82 Nov 21 19:11 youtubedl-material/
drwxrwxrwx 1   1000  1000   0 Jul 21 02:15 zerotier/

image.png.3440fd9b462f07bb92a37f4fe751b0a0.png

 

I added write permissions (I did not recurse though) to the binhex dockers but only some of them work. The ones that don't are still failing to access databases and config files from within the root folders.

drwxrwxrwx 1   1000  1000 374 Nov 21 19:13 ./
drwxrwxrwx 1 nobody users  40 Nov 21 00:41 ../
drwxrwxrwx 1   1000  1000  74 May  7  2020 Firefox/
drwxrwxrwx 1   1000  1000 316 Nov 19 07:43 binhex-emby/
drwxrwxrwx 1   1000  1000 188 Oct 29 16:18 binhex-jellyfin/
drwxrwxrwx 1   1000  1000  64 Dec  7  2019 binhex-krusader/
drwxrwxrwx 1   1000  1000 434 Nov 19 14:46 binhex-lidarr/
drwxrwxrwx 1   1000  1000 106 Jul 15  2019 binhex-plex/
drwxrwxrwx 1   1000  1000 474 Nov 19 17:44 binhex-radarr/
drwxrwxrwx 1   1000  1000 334 Aug 30 22:41 binhex-sabnzbdvpn/
drwxrwxrwx 1   1000  1000 450 Nov 19 15:35 binhex-sonarr/
drwxrwx--- 1   1000  1000 208 Sep 10 10:50 cstrikego/
drwxrwx--- 1   1000  1000 126 Oct 17 22:48 killingfloor2/
drwxrwx--- 1   1000  1000 110 Oct 22 07:43 steamcmd/
drwxrwxrwx 1   1000  1000 150 Apr 11  2020 swag/
drwxrwxrwx 1   1000  1000 108 Nov 21 07:41 transmission/
drwxrwxrwx 1   1000  1000  82 Nov 21 19:11 youtubedl-material/
drwxrwxrwx 1   1000  1000   0 Jul 21 02:15 zerotier/

 

Fatal error:
"/config/sabnzbd.ini" is not a valid configuration file<br>Error message: [Errno 13] Permission denied: '/config/sabnzbd.ini'
Specify a correct file or delete this file.

2020-11-21 19:35:42,074 DEBG 'watchdog-script' stdout output:
[info] SABnzbd process started
[info] Waiting for SABnzbd process to start listening on port 8080...

 

Should I recursively add write permissions, or is there an easy way to reset permissions? I tried force updating the dockers that don't work but it didn't help. The ones I'm having issues with are binhex-emby, buinhex-jellyfin, binhex-plex, and binhex-sabnzbdvpn. Thanks for any help!

Link to comment

Squid, thanks very much for that tidbit about your folders being owned by nobody:users. I ran chown -R nobody:users appdata/ and that has fixed my issue. I only have one user - root so maybe that is what the 1000:1000 is. Not sure how or when the folder ownership got changed to that. Anyways, thanks again for your help!

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.