[Solved] Inconsistent file permissions in Linux guest shared from Windows guest
Posted: 9. Mar 2019, 19:44
Odd behaviour by file permissions on a file share causing confusion.
Host is Windows 10, running Virtual Box v5.2.26 r128414. Guest is Linux Mint 18.3. Both operating systems are fully patched up.
Host has opted to share a folder with guest, set in VB to auto-mount, full access and made permanent. Read-only is off.
Guest has installed VB Guest Additions, mounted the share (sudo mount -t vboxsf), as described here. In addition, the Linux admin user and the Linux non-admin user are made members of group vboxsf.
All sort-of works, except that while some folders within the mounted fileshare are properly fully controlled by both users... but other folders are not. In the same fileshare, it should be all wholly consistent. The inconsistency is doing my head in!
The file permissions are equal in a sample of inconsistent folders, ie.:
Root of fileshare: drwxrwxrwx 1 root root 24576 Mar 9 16:44 temp backup to file
File in a sub-folder that works normally: -rwxrwxrwx 1 root root 229 Mar 5 23:29 script
File in a sub-folder that does not work normally: -rwxrwxrwx 1 root root 4543 Jun 29 2014 wkp- Wendover.kmz
The non-admin user sees different options greyed out in the popup context menu, as attached.
Both admin and non-admin Linux users cannot rename, edit or create files in folders whose permissions are somehow corrupted.
There is no impediment to read-write-edit in the host's folders.
Is there a known fix? If not, what is the next step in the diagnosis?
Host is Windows 10, running Virtual Box v5.2.26 r128414. Guest is Linux Mint 18.3. Both operating systems are fully patched up.
Host has opted to share a folder with guest, set in VB to auto-mount, full access and made permanent. Read-only is off.
Guest has installed VB Guest Additions, mounted the share (sudo mount -t vboxsf), as described here. In addition, the Linux admin user and the Linux non-admin user are made members of group vboxsf.
All sort-of works, except that while some folders within the mounted fileshare are properly fully controlled by both users... but other folders are not. In the same fileshare, it should be all wholly consistent. The inconsistency is doing my head in!
The file permissions are equal in a sample of inconsistent folders, ie.:
Root of fileshare: drwxrwxrwx 1 root root 24576 Mar 9 16:44 temp backup to file
File in a sub-folder that works normally: -rwxrwxrwx 1 root root 229 Mar 5 23:29 script
File in a sub-folder that does not work normally: -rwxrwxrwx 1 root root 4543 Jun 29 2014 wkp- Wendover.kmz
The non-admin user sees different options greyed out in the popup context menu, as attached.
Both admin and non-admin Linux users cannot rename, edit or create files in folders whose permissions are somehow corrupted.
There is no impediment to read-write-edit in the host's folders.
Is there a known fix? If not, what is the next step in the diagnosis?