Skip to content

owner and permissions of mount point change after mounting #195

Open
@superbonaci

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions