Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chown as abc:abc causing permission issues, why does this exist? #94

Closed
adrkable opened this issue Feb 10, 2020 · 1 comment
Closed

Comments

@adrkable
Copy link

Can anyone shed light on these permissions and why the exist? Seems to be causing ownership conflicts.

$ sudo docker-compose logs nzbget
Attaching to nzbget
nzbget        | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
nzbget        | [s6-init] ensuring user provided files have correct perms...exited 0.
nzbget        | [fix-attrs.d] applying ownership & permissions fixes...
nzbget        | [fix-attrs.d] done.
nzbget        | [cont-init.d] executing container initialization scripts...
nzbget        | [cont-init.d] 01-envfile: executing... 
nzbget        | [cont-init.d] 01-envfile: exited 0.
nzbget        | [cont-init.d] 10-adduser: executing... 
nzbget        | 
nzbget        | -------------------------------------
nzbget        |           _         ()
nzbget        |          | |  ___   _    __
nzbget        |          | | / __| | |  /  \ 
nzbget        |          | | \__ \ | | | () |
nzbget        |          |_| |___/ |_|  \__/
nzbget        | 
nzbget        | 
nzbget        | Brought to you by linuxserver.io
nzbget        | We gratefully accept donations at:
nzbget        | https://www.linuxserver.io/donate/
nzbget        | -------------------------------------
nzbget        | GID/UID
nzbget        | -------------------------------------
nzbget        | 
nzbget        | User uid:    1000
nzbget        | User gid:    1000
nzbget        | -------------------------------------
nzbget        | 
nzbget        | chown: changing ownership of '/config': Operation not permitted
nzbget        | [cont-init.d] 10-adduser: exited 0.
nzbget        | [cont-init.d] 30-config: executing... 
nzbget        | chown: changing ownership of '/downloads': Operation not permitted
nzbget        | chown: changing ownership of '/config/nzbget.conf': Operation not permitted
nzbget        | chown: changing ownership of '/config': Operation not permitted
nzbget        | [cont-init.d] 30-config: exited 0.
nzbget        | [cont-init.d] 99-custom-files: executing... 
nzbget        | [custom-init] no custom files found exiting...
nzbget        | [cont-init.d] 99-custom-files: exited 0.
nzbget        | [cont-init.d] done.
nzbget        | [services.d] starting services
nzbget        | [services.d] done.
nzbget        | [INFO] nzbget 21.0 server-mode

docker-compose.yaml

version: "2"
services:
  nzbget:
    image: linuxserver/nzbget
    container_name: nzbget
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=${TIMEZONE}
    volumes:
      - nzbget-data:/config:nocopy
      - downloads-data:/downloads
    ports:
      - 6789:6789
    restart: unless-stopped

volumes:
   nzbget-data:
      driver: nfs
      driver_opts:
        share: "synology.lan:/volume4/AppDir/docker/nzbget"
   downloads-data:
      driver: nfs
      driver_opts:
        share: "synology.lan:/volume2/Downloads"

@project-bot project-bot bot added this to To do in Issue & PR Tracker Feb 10, 2020
@aptalca
Copy link
Member

aptalca commented Feb 10, 2020

It exists so the app can access its own files.
Your issue is the nfs mount.
FYI, we don't recommend putting config folders on remote mounts/shares.

@aptalca aptalca closed this as completed Feb 10, 2020
Issue & PR Tracker automation moved this from To do to Done Feb 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants