You are not logged in.
I am using VirtualBox 5.2.12. I installed ArchLinux in a VM on a Win10 host and created a share of the folder C:\Users\USER\Documents with the option AutoMount enabled.
When I start the VM I have the share regularly mounted on /media/sf_Documents but accessible only by root.
The user jimmi is in the group vboxsf
$ groups jimmi
power wheel storage vboxsf usersThe directory seems to have the proper permits:
sudo ls -ll /media/
totale 96
drwxrwx--- 1 root vboxsf 65536 1 giu 10.31 sf_Documentsroot may see the share:
$ sudo df
File system 1K-blocchi Usati Disponib. Uso% Montato su
dev 2015896 0 2015896 0% /dev
run 2021624 428 2021196 1% /run
/dev/sda1 10255636 3646276 6068688 38% /
tmpfs 2021624 13160 2008464 1% /dev/shm
tmpfs 2021624 0 2021624 0% /sys/fs/cgroup
tmpfs 2021624 8 2021616 1% /tmp
/dev/sda3 10254612 83256 9630736 1% /home
Documents 249576220 155982596 93593624 63% /media/sf_Documents
tmpfs 404324 4 404320 1% /run/user/1000$ sudo ls -ll /media/sf_Documents
totale 480439
-rwxrwx--- 1 root vboxsf 394937 30 mar 2015 1-1.pdf
...but the user cannot
$ df
File system 1K-blocchi Usati Disponib. Uso% Montato su
dev 2015896 0 2015896 0% /dev
run 2021624 428 2021196 1% /run
/dev/sda1 10255636 3646276 6068688 38% /
tmpfs 2021624 24344 1997280 2% /dev/shm
tmpfs 2021624 0 2021624 0% /sys/fs/cgroup
tmpfs 2021624 8 2021616 1% /tmp
/dev/sda3 10254612 83344 9630648 1% /home
tmpfs 404324 4 404320 1% /run/user/1000$ ls -ll /media/sf_Documents
ls: impossibile accedere a '/media/sf_Documents': Permesso negatoI know that something is wrong with the permits but I cannot figure out what. I read pages and pages of howtos, forums and bug report but did not found anything.
Anybody has a clue of what my problem is?
Thanks in advance ![]()
Jimmi
Last edited by jimmi61 (2018-06-04 03:22:58)
Offline
How are you mounting that volume in the guest?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
How are you mounting that volume in the guest?
I'm not mounting it, I enabled the option AutoMount and it comes mounted by the system on startup.
BTW there are problems mounting shares with the actual kernel as you may read here, but I guess has nothing to do with permits. I downgraded the system to the kernel 4.14 LTS but did not had any effect on my issue.
Last edited by jimmi61 (2018-06-04 02:18:27)
Offline
As I thought the solution was trivial: for some reason the /media directory had permits drwxr-x---, is this standard for Archlinux?
After chmod 755 everything is working like a charm ![]()
Offline