sgan81 / apfs-fuse

FUSE driver for APFS (Apple File System)
GNU General Public License v2.0
1.74k stars 164 forks source link

owner and permissions of mount point change after mounting #195

Open superbonaci opened 2 months ago

superbonaci commented 2 months ago

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.