LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   centos guest shows shared folder empty (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/centos-guest-shows-shared-folder-empty-4175427486/)

pouya7525 09-16-2012 05:32 AM

centos guest shows shared folder empty
 
I don't know why centos shows my shared folder empty when it's full of project folders
These are my VM setup:

HOST: windows 7 ultimate 32bit
GUEST: CentOs 6.3 i386
Virtualization soft: Oracle virtualBox 4.1.22
Networking: NAT -> (PORT FORWARD: HOST:8080 => GUEST:80)
Shared Folder: centos

shared folder is set to mount automatically in the boot and my user(root) and apache are members of vboxsf group

pouya7525 09-16-2012 05:49 AM

I looked at /etc/rc.local and it contains

touch /var/lock/subsys/local

But somebody says it should contain something like:

mount.vboxsf -o uid=500 -o gid=500 <sharename> <sharedirectory>

any idea?

it was working properly recently but suddenly it stops functioning

pouya7525 09-16-2012 06:20 AM

I noticed that the actual mount statement exists at /etc/rc.d/rc.local and leave the rc.local as it was

so the mount statement is at it's place and folder is mounted automatically so what's wrong here

please help

pouya7525 09-16-2012 06:58 AM

I'm guessing for some reason centos can't see folders in shared folder and VM is working as it should so folders is created in windows7 and not centos. if i type mkdir test and refresh windows i can't see the test folder in windows so windows can't see centos created folders and centos can't see windows folder. i'm lost


All times are GMT -5. The time now is 04:49 AM.