Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 10785  / 3 Years ago, mon, july 12, 2021, 5:51:07

I'm sure I'm missing something quite basic here, but I'm running Ubuntu through Virtual Box on my Mac, and so I need to give my Ubuntu user read/write access to the folder shared by the host and guest systems (named sf_VB_Shared_Folder). I performed and got the following:



user@user-VirtualBox:/media$ ls -l
total 0
drwxrwx--- 1 root vboxsf 68 Aug 3 07:59 sf_VB_Shared_Folder
user@user-VirtualBox:/media$ sudo chmod ugo+rwx sf_VB_Shared_Folder
user@user-VirtualBox:/media$ ls -l
total 0
drwxrwx--- 1 root vboxsf 68 Aug 3 07:59 sf_VB_Shared_Folder


Why are the permissions not changing?


More From » virtualbox

 Answers
4

As the directory is shared by the host, the permission change should be applied on the host system (Mac) not the guest (Ubuntu) where the folder is mounted.
The method of adding the user to the group vboxsf won't work in this special case I think because the Mac won't know about the Ubuntu user so the chmod 777 (rwxrwxrwx) is the way to go.


[#36408] Monday, July 12, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
defendle

Total Points: 219
Total Questions: 131
Total Answers: 112

Location: Finland
Member since Sat, Nov 6, 2021
3 Years ago
defendle questions
Mon, May 10, 21, 03:46, 3 Years ago
Mon, Dec 5, 22, 07:16, 1 Year ago
;