-
Notifications
You must be signed in to change notification settings - Fork 174
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
Cannot Initialize icloudpd #400
Comments
Only a single command line parameter is processed by the script so Your script attempting to save files in /root/ suggests that your user_id variable is set to 0. I've no idea how this will work as I'm using su to switch user when saving the files. This location is also not on the persistent storage locations that are defined in the container, so will be removed each time the container is rebuilt. |
It seems like
On the other hand, the same log shown as before when I ran with |
Looks like I missed it out on the part that validates the launch parameters. Fixed in latest version. |
Got the same issue again in |
Odd, When I tested it, it worked. All it does is edit |
I set It seems like the variable The complete log:
However, it kept
and below, new error occurred:
Seems like something wrong with |
This container is designed to be run as a non-root user. Setting these values will break things. Latest container now prevents this. |
Saying that, I do think there was an issue with the run_as command. It was preserving the environment when switching user, so that would likely result in permissions errors, as stuff like $HOME would still point to the root home directory. Although, this doesn't explain why I don't see this issue in testing, so there may still be something else not behaving itself. |
Closing this off as moving to a non root user should work. This user also confirms it works using Orbstack: #391 |
Running Environment: Docker with OrbStack(1.0.0) in macOS 14.0 (23A344)
Docker Version:
Error Log:
It's confusing me that while other issues reported
FileExistsError: [Errno 17] File exists: '/home/user/.local/share/python_keyring'
, I always receivedPermissionError: [Errno 13] Permission denied: '/root/.config/python_keyring/keyringrc.cfg'
even if I set theuser_id
,group_id
andforce_group
environment variables.The text was updated successfully, but these errors were encountered: