Hi,
i am using VirtualBox Version 5.1.30 r118389 (Qt5.6.2). with matching Guest additions. The problem is that all the files and directories in my sf_Shared directory have permission 770. Chmod command does not work. I configured the shared folder from my Windows 7 host from "Shared folders" with Auto-mount and Full access.
Some have suggested that i should add myself to vboxsf group. There does not seem to be a group named like this in the shadow file. But when i try to add, the following is displayed:
bup@bup-VirtualBox /media/sf_Shared $ sudo adduser bup vboxsf
The user `bup' is already a member of `vboxsf'.
There is however a vboxadd group in the shadow file.
How to resolve the issue? Some build scripts of mine fail due to this issue.
Thanks!
Shared filesystem permission fixed to 770
-
- Site Moderator
- Posts: 39156
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Shared filesystem permission fixed to 770
It's a shared folder, not a disk drive. You can't set permissions on files in someone else's disk drive. There's no guarantee that the host drive even supports such a concept.
-
- Site Moderator
- Posts: 27330
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Shared filesystem permission fixed to 770
Chmod does not work on a filesystem that doesn't understand permissions. And shared folders are such a filesystem.bupthebroker wrote:Chmod command does not work
VirtualBox's shared folders present a very simplified file system implementation, just enough to read/write files from/to the guest. Many applications can error when using shared folders, because they expect advanced features, like file locking or access controls, which don't exist for shared folders.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.