-
-
Notifications
You must be signed in to change notification settings - Fork 129
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
Permissions of mounted /data folder get set to PUID and PGID and all other permissions removed #367
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
Permissions of that mount need to be set to the same uid/gid that nextcloud is running as so it can manage those files. Nextcloud is designed to work like this and ideally you shouldn't just be directly accessing that folder. |
That is fine and all. But what justification is there for removing other permissions I set there? |
The files need to be owned by the user of the container. Realistically you shouldn't be changing anything inside that folder anyways. If you -must-, just make your user have the same group as you're running for the container. |
Funny you should say that, because ownership is not changed. |
You're running on Synology which means it applies its own ACLs over the filesystem, which are impossible for us to see or modify from inside the container. Setting the raw Linux permissions will reset the ACLs and there's not a clean solution to that. However, we only chown the root of /data so any folders under that can have ACLs set without being affected. |
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue is locked due to inactivity |
Is there an existing issue for this?
Current Behavior
Permissions for the share mounted as /data are set to the permissions of the configured PUID and PGID. All other users and groups get removed.
Expected Behavior
Leave permissions alone?
Steps To Reproduce
..
Environment
CPU architecture
x86-64
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: