hi all!!
i have a problem making my shared folders "permanent". i put this command : "mount -t vboxsf /usr/local/src/C32/" in /etc/rc.local and it prints me the following:
"/sbin/mount.vboxsf : mounting failed with the error: permision denied " i have put permission 777 to everything that has something to do with this command as i can see.
if i put the same command in the terminal of my guest it works fine but if i put it in rc.local it doesn't works. also if i put it in "fstab" it complains saying that "dev c32 is not a device " OF COURSE IT ISN'T, its very witty VBOX.
i dont want to execute the command or a script with this command each time i execute a guest....
any sugestions ¿?
thanks !!
Permanent shared folders problem
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Permanent shared folders problem
This should go in the /etc/rc.local. However if the statement that you show is the one you are using then that is the problem.
mount -t vboxsf (options) (share name) (mount point)
Example: with share being the share name and ~/downloads as the shared folder.
You also must not use the auto-mount feature as this will conflict with the share if you want to manually mount this.
mount -t vboxsf (options) (share name) (mount point)
Example: with share being the share name and ~/downloads as the shared folder.
Code: Select all
mount -t vboxsf -o uid=1000,gid=1000 share ~/downloads-
wikisb
- Posts: 19
- Joined: 9. May 2011, 18:25
- Primary OS: Linux other
- VBox Version: OSE other
- Guest OSses: CENTOS
Re: Permanent shared folders problem
hi perryg
i just solved my problem. it was becouse i had SELinux enabled, i thought i had disable it installing the guest.
thanks for your time!!
i just solved my problem. it was becouse i had SELinux enabled, i thought i had disable it installing the guest.
thanks for your time!!