You are not logged in.
Hi,
I enabled auto mounting through Virtualbox on windows host and it seems to work fine when accessed as root.
[david@david-pc ~]$ sudo ls -l /media
total 0
drwxrwx--- 1 root vboxsf 0 Nov 15 10:35 sf_progs
[david@david-pc ~]$ sudo ls -l /media/sf_progs
total 4
drwxrwx--- 1 root vboxsf 4096 Nov 16 15:56 javaBut not when accessed as user
[david@david-pc ~]$ ls -l /media
ls: cannot access /media/sf_progs: Permission denied
total 0
d????????? ? ? ? ? ? sf_progs
[david@david-pc ~]$ ls /media
ls: cannot access /media/sf_progs: Permission denied
sf_progs
[david@david-pc ~]I have added myself to the vboxsf group, and tried accessing after rebooting aswell
[david@david-pc ~]$ id david
uid=1000(david) gid=100(users) groups=100(users),10(wheel),109(vboxsf)Thanks
Last edited by mmmcurry (2013-11-23 21:54:18)
Offline
Do you have permission to access /media?
Offline
yes
[david@david-pc ~]$ ls -l /
total 20
lrwxrwxrwx 1 root root 7 Jun 1 04:40 bin -> usr/bin
drwxr-xr-x 4 root root 4096 Nov 22 13:24 boot
drwxr-xr-x 17 root root 2880 Nov 23 17:01 dev
drwxr-xr-x 1 root root 2006 Nov 23 09:37 etc
drwxr-xr-x 1 root root 10 Nov 22 13:42 home
lrwxrwxrwx 1 root root 7 Jun 1 04:40 lib -> usr/lib
lrwxrwxrwx 1 root root 7 Jun 1 04:40 lib64 -> usr/lib
drwxrwxrw- 1 root root 16 Nov 23 09:10 media
Offline
No. You need "x" to access a directory and you don't have that for non-root. Just chmod /media with 775.
Offline
Ahh, that's embarrassing. I just assumed that you only needed r to access a directory and x was for scripts and stuff.
But it works now, Thanks! ![]()
Offline
Sorry for the silly question but how did you add permission to media folder?
Offline
Sorry for the silly question but how did you add permission to media folder?
I am pretty sure they used chmod
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