open-vm-tools
open-vm-tools copied to clipboard
Enhancement: add dmask and fmask support to vmhgfs-fuse
Host: Windows 10 Guest: Ubuntu 20.04
I would like directories to have permissions 711, and files to have permissions 600. This is not possible using the umask option.
My current /etc/fstab (not what I want):
.host:/Shared /home/jmooring/Shared fuse.vmhgfs-fuse allow_other,uid=1000,gid=1000,umask=177 0 0
What I would like:
.host:/Shared /home/jmooring/Shared fuse.vmhgfs-fuse allow_other,uid=1000,gid=1000,dmask=066,fmask=177 0 0
Hello
Thanks for reporting. In the past I had looked into adding support for these options but other items took priority before I could do the work. I will file a bug with a link to this thread so the current engineers can respond here as well with any updates.
Thanks Steve
Is there any link to that filed bug? Not having dmask/fmask is a major regession compared to the old kernel-vmhgfs as it forces you to either have all files marked as executable or have non-executable directories with all kinds of problems.
What is the status of this issue? Arrived here trying to figure out the same issue as exposed by original poster.
Sorry, this is still in the pending queue. I will try and get the PR priority raised and see if we can this done soon.
FYI: VirtualBox allows mounts with fmask and dmask (see http://manpages.ubuntu.com/manpages/trusty/man8/mount.vboxsf.8.html) as does WSL (see https://docs.microsoft.com/en-us/windows/wsl/wsl-config#automount-options).
A year passed since I asked, so I'll ask again. Is there any progress on this issue? @lousybrit please link the PR.
+1
The feature request is still in progress. The initial work was under going testing with Linux releases based on Fuse 2. With more and more Linux releases movng to Fuse 3, the feature changes need to be revised and retested.
VMware internal PRs are not accessible by the public.
More than another year passed. Is there any progress?