Skip to content

[ISSUE connecting] - permissions issues #310

@tonylee1918

Description

@tonylee1918

I have followed the README and created an environment file and updated the config.yaml file to something simple (i.e. just sync everything).
I am also mapping the data storage directory to a new directory created on my host (~/iclouddata).

When I run the docker command to login (with ---=user=abc), I get this bunch of error

jacob@DockerVM:~/docker/icloud-docker$ docker logs -f icloud
/run/s6/basedir/scripts/rc.init: line 26: /docker-mods: Permission denied
/run/s6/basedir/scripts/rc.init: warning: hook /docker-mods exited 126
groupmod: /etc/group.70: Permission denied
groupmod: cannot lock /etc/group; try again later.
usermod: no changes

====================================================
To support this project, please consider sponsoring.
https://github.com/sponsors/mandarons
https://www.buymeacoffee.com/mandarons

User UID: 911
User GID: 1001

/etc/s6-overlay/s6-rc.d/init-adduser/run: line 27: /usr/bin/lsiown: Permission denied
/etc/s6-overlay/s6-rc.d/init-adduser/run: line 28: /usr/bin/lsiown: Permission denied
/etc/s6-overlay/s6-rc.d/init-adduser/run: line 29: /usr/bin/lsiown: Permission denied
s6-rc: warning: unable to start service init-adduser: command exited 126

It seems like a permission issue, but I am not sure what to do. Base on other issues on github I have tried the following changes:

  • Remove PUID/PGID from the docker-compose.yml file, but that did not work (container was not spinning up)
  • I have tried to modify the PUID/PGID to the 911:1001 I am seeing, with that the container spun up, but when i try to authenticate (I also changed ---user=911:1001 from abc), that also did not work.

At this point, not sure what is going wrong. I am not the most experienced with docker, so apologies if this ends up being a simple thing. Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting-infoAwaiting more information to proceed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions