Ubu 10.4 VB guest can't write to shares on Ubu 9.10 host
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ubu 10.4 VB guest can't write to shares on Ubu 9.10 host
Hi,
I just upgraded to the newest VirtualBox, version3.2.4.r62467 and installed Ubuntu 10.4/64 guest on an Ubuntu 9.10/64 host. I installed the guest additions and set 3 shared drives. I can see them in the "machine folders" names, paths and access modes in the "shared folders" dialog. But, when I try to write to them, I always get PERMISSION DENIED!
I mounted it as root:
mount -t vboxsf tera /vb/tera
It shows up in mtab:
root@ubu-10:/vb# grep tera /etc/mtab
tera /vb/tera vboxsf rw 0
I can see the listing:
root@ubu-10:/vb# ls /vb/tera
bak Recycled <snip>
But, the permissions are wrong and can not be corrected. Chmod and chown are ignored?!:
root@ubu-10:/vb# ll /vb | grep tera
drwxr-xr-x 1 root root 12288 2010-05-04 09:42 tera/
root@ubu-10:/vb# chown brianp /vb/tera
root@ubu-10:/vb# chmod 775 /vb/tera
root@ubu-10:/vb# ll /vb | grep tera
drwxr-xr-x 1 root root 12288 2010-05-04 09:42 tera/
I am running as root:
root@ubu-10:/vb# whoami
root
The VB shared folders dialog, machine folders shows /tera with access Full. /etc/mtab confirms that it is rw
I own it on the host:
brianp@trex:~$ ll / | grep tera
drwxr-xr-x. 16 brianp root 12K 2010-05-04 09:42 tera
RWeaver,
On host:
root@trex:/home/brianp/ain# chmod 777 *
root@trex:/home/brianp/ain# ll
total 201M
-rwxrwxrwx 1 brianp brianp 326 2010-06-11 16:09 01 - Put A Little Love In Your Heart (2005 Digital Remaster).m3u
On the guest:
root@ubu-10:/vb/brianp/ain# ls -l
total 4
-rwxrwxrwx 1 root root 326 2010-06-11 17:09 01 - Put A Little Love In Your Heart (2005 Digital Remaster).m3u
root@ubu-10:/vb/brianp/ain# touch 01\ -\ Put\ A\ Little\ Love\ In\ Your\ Heart\ \(2005\ Digital\ Remaster\).m3u
root@ubu-10:/vb/brianp/ain# ls -l
total 4
-rwxrwxrwx 1 root root 326 2010-06-11 17:12 01 - Put A Little Love In Your Heart (2005 Digital Remaster).m3u
root@ubu-10:/vb/brianp/ain# touch test
root@ubu-10:/vb/brianp/ain# ll
total 4
-rwxrwxrwx 1 root root 326 2010-06-11 17:12 01 - Put A Little Love In Your Heart (2005 Digital Remaster).m3u
-rw-r--r-- 1 root root 0 2010-06-11 17:16 test
CHOWN has no effect:
root@ubu-10:/vb/brianp/ain# chown brianp test
root@ubu-10:/vb/brianp/ain# ll
total 4
-rwxrwxrwx 1 root root 326 2010-06-11 17:12 01 - Put A Little Love In Your Heart (2005 Digital Remaster).m3u
-rw-r--r-- 1 root root 0 2010-06-11 17:16 test
CHMOD works only on files I create:???
root@ubu-10:/vb/brianp/ain# chmod 777 test
root@ubu-10:/vb/brianp/ain# ll test
-rwxrwxrwx 1 root root 0 2010-06-11 17:16 test
On host:
root@trex:/home/brianp/ain# ll
total 4.0K
-rwxrwxrwx 1 brianp brianp 326 2010-06-11 17:12 01 - Put A Little Love In Your Heart (2005 Digital Remaster).m3u
-rwxrwxrwx 1 brianp brianp 0 2010-06-11 17:16 test
Too weird.
It appears that all permissions have to be set on the host and that full access is broken either in VB or in Ubuntu 10.4?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.