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

ntfs: Mask file permissions we get from mount_ntfs -m option #32

Closed
wants to merge 1 commit into from

Conversation

ricardobranco777
Copy link

@ricardobranco777 ricardobranco777 commented Feb 3, 2024

The ntfs code accepts any value passed from the -m option to mount_ntfs.

To reproduce:

$ mkntfs -fF ~/ntfs.img
$ sudo vnconfig vnd0 ~/ntfs.img
$ sudo mount_ntfs -m 010555 /dev/vnd0 /mnt
$ ls -l /mnt 
?r-xr-xr-x  1 root  wheel  0 Feb  3 23:15 /mnt

Bug fixed in FreeBSD:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=114856

@ricardobranco777
Copy link
Author

Merged.

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