Ticket #14884 (new defect)

Opened 4 years ago

Cannot chmod directories within guesLinux guest/host

Reported by: Simon Ruggier Owned by:
Component: shared folders Version: VirtualBox 5.0.10
Keywords: Cc:
Guest type: other Host type: other


I have a Linux guest in Virtualbox with a directory tree mounted rw using vboxsf. Today I noticed that running chmod on a directory from within the guest has no effect. This is a problem for me, because I was trying to use git annex, which relies heavily on being able to modify directory modes during the drop operation, for example.

I did some searching and found lots of commentary implying that other people were seeing the same problem, but no solutions anywhere, so I dug into the source code and gradually drilled down into vboxsf until I found the host-side implementation of mode change for directories, in vbsf.cpp on line 1444:

    /* TODO: mode for directories */

I have to give it credit for its conciseness, but I'd be very appreciative if a new release of VirtualBox included a more effective implementation :)

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use