no permission to execute a file in shared folder
Posted: 11. Oct 2008, 04:38
Hi, all.
I encounter a problem of no permission to execute a file in shared folder.
Host: windows xp
Guest: ubuntu8,04
VirtualBox version: 2.02
I created a shared folder named G_LINUX_PROG for a G partition in windows xp.
And I mount the shared folder with the following command&option:
#sudo mount -o exec,rw,uid=1000,gid=1000 -t vboxsf G_LINUX_PROG /mnt/shared/linux_program
Then i change directory to /mnt/shared/linux_program//gcc/conceptgcc-4.3.0-alpha-7
And using the "ls -l" command, which show the following infomation:
-rw-rw-rw- 1 simon simon 32639 2007-04-05 23:25 config.sub
-rw-rw-rw- 1 simon simon 384631 2007-04-05 23:25 configure
-rw-rw-rw- 1 simon simon 87629 2007-04-05 23:25 configure.ac
then I use "chmod 777 configure"
After this, the "ls -l" command, which show the following infomation:
-rw-rw-rw- 1 simon simon 32639 2007-04-05 23:25 config.sub
-rw-rw-rw- 1 simon simon 384631 2007-04-05 23:25 configure
-rw-rw-rw- 1 simon simon 87629 2007-04-05 23:25 configure.ac
>>>>>>the mode of the configure file did not changed!!!
So, my question is that how to solve this problem??
Is there anyone encouter this?
Thank you..
I encounter a problem of no permission to execute a file in shared folder.
Host: windows xp
Guest: ubuntu8,04
VirtualBox version: 2.02
I created a shared folder named G_LINUX_PROG for a G partition in windows xp.
And I mount the shared folder with the following command&option:
#sudo mount -o exec,rw,uid=1000,gid=1000 -t vboxsf G_LINUX_PROG /mnt/shared/linux_program
Then i change directory to /mnt/shared/linux_program//gcc/conceptgcc-4.3.0-alpha-7
And using the "ls -l" command, which show the following infomation:
-rw-rw-rw- 1 simon simon 32639 2007-04-05 23:25 config.sub
-rw-rw-rw- 1 simon simon 384631 2007-04-05 23:25 configure
-rw-rw-rw- 1 simon simon 87629 2007-04-05 23:25 configure.ac
then I use "chmod 777 configure"
After this, the "ls -l" command, which show the following infomation:
-rw-rw-rw- 1 simon simon 32639 2007-04-05 23:25 config.sub
-rw-rw-rw- 1 simon simon 384631 2007-04-05 23:25 configure
-rw-rw-rw- 1 simon simon 87629 2007-04-05 23:25 configure.ac
>>>>>>the mode of the configure file did not changed!!!
So, my question is that how to solve this problem??
Is there anyone encouter this?
Thank you..