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

owner and permissions of mount point change after mounting #195

Open
superbonaci opened this issue Jun 22, 2024 · 0 comments
Open

owner and permissions of mount point change after mounting #195

superbonaci opened this issue Jun 22, 2024 · 0 comments

Comments

@superbonaci
Copy link

I created the directory /mnt/apfs-data:

drwxrwxrwx   2 user user    4096 jan 19 10:11 apfs-data/

But after mounting with uid and gid of the user, ownership and permissions are changed:

$ sudo apfs-fuse -o uid=1000,gid=1000 /dev/sda2 /mnt/apfs-data
drwxr-xr-x   2 root root       0 jan  1  1970 apfs-data/

can't cd as user:

$ cd /mnt/apfs-data
bash: cd: /apfs-data: Permission denied

Unmounting returns to original state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant