Hi,
My host is Ubuntu 10.04 and the guest runs RHEL6. My home dir in the guest is on a shared folder, ie:
[root@vbox-rhel6 ~]# mount | grep juergh
rhel6 on /home/juergh type vboxsf (uid=1000,gid=1000,rw)
The problem I'm having is that when I log into the guest, I get the following error:
No directory /home/juergh!
Logging in with home = "/".
[juergh@vbox-rhel6 /]$
However I can chdir just fine to my home once I'm logged in:
[juergh@vbox-rhel6 /]$ cd
[juergh@vbox-rhel6 ~]$ pwd
/home/juergh
Permissions all seem to be fine. Any ideas what is going on?
Thanks
...Juerg
Problem with guest home dir on shared folder
-
fixedwheel
- Volunteer
- Posts: 1699
- Joined: 13. Sep 2008, 02:18
Re: Problem with guest home dir on shared folder
Hi,
and ownership?Permissions all seem to be fine.
-
qkb
- Posts: 24
- Joined: 16. Nov 2009, 21:02
- Primary OS: MS Windows XP
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: WinXP, Win7, Debian
- Location: Kraków, Poland
Re: Problem with guest home dir on shared folder
The question is how/when you mount the shared folder: if it is done after login, then no wonder the folder is unavailable during login procedure.
-
juergh
- Posts: 3
- Joined: 29. Sep 2010, 11:16
- Primary OS: Ubuntu other
- VBox Version: OSE other
- Guest OSses: RHEL6
Re: Problem with guest home dir on shared folder
Ownership is correct as well. All works fine once I log in and cd back to my homedir.fixedwheel wrote:Hi,and ownership?Permissions all seem to be fine.
-
juergh
- Posts: 3
- Joined: 29. Sep 2010, 11:16
- Primary OS: Ubuntu other
- VBox Version: OSE other
- Guest OSses: RHEL6
Re: Problem with guest home dir on shared folder
The share is mounted during boot. That's not the issue. I can do multiple logins and they all fail with 'No directory /home/juergh'. Btw when I log in via ssh I get: 'Could not chdir to home directory /home/juergh: Permission denied'. And then I can cd right back to /home/juergh and all is fine.qkb wrote:The question is how/when you mount the shared folder: if it is done after login, then no wonder the folder is unavailable during login procedure.
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: Problem with guest home dir on shared folder
You may go to it, but can you even write in it? That's probably the whole problem. Post the mount command that is used and the output of the following two commands:
Do use code blocks when posting terminal output.
Code: Select all
ls -la /home
ls -la /home/juerghRead the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.