[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: no shell, unable to cd to /home/*



Hi Dave, thanks for joining in.

/mnt/home is the result of wrongly thinking that I can only mount dirs in /mnt . But unmounting /dev/hda10, mounting it in /home instead, gives the same "no shell" output as before. For simplicity's sake I changed fstab as you suggested.

ls -ld /home drwxrwxrwx 11 root users 4096 Oct 8 23:55 /home

ls -las /home
total 120   4 drwxrwxrwx   11 root     users        4096 Oct  8 23:55 .
 60 drw-rw----   24 root     root        57344 Oct 10 18:46 ..
  4 drwxrwxrwx    2 root     root         4096 Jun  7 20:16 .xvpics
  4 drwxrwxrwx    4 root     users        4096 Aug  8 00:39 KDE
 12 drw-rw----   77 avh      avh         12288 Oct  7 03:05 avh
 16 drwxrwxrwx    2 root     users       16384 May  4 02:23 lost+found
  4 drwxrwxrwx    2 1002     root         4096 Oct  6 23:52 mcr
  4 drwxrwxrwx    4 root     users        4096 Sep  2 21:44 pool
  4 drwxr-xr-x    2 1004     test         4096 Oct  8 23:07 test
  4 drwxr-xr-x    2 1005     test2        4096 Oct  8 23:55 test2
  4 drwxrwxrwx    3 root     root         4096 May  9 08:56 tmp

"total 120" looks terribly wrong to me. is it wrong?

("user" KDE is a Backup-dir of deb packtets for KDE 1.2, will store it elsewhere and move/delete all non-user dirs; KDE, interestingly, did not show when I had hda10 mounted as /mnt/home/* - perhaps something that resembles your own problem of some time ago that you described)

Before changing the mountpoint I ran the tests you suggested, here is the output:

ls -ld /mnt/home
drwxr-xr-x    2 root     root         4096 May  2 01:41 /mnt/home

ls -las /mnt/home
total 8
  4 drwxr-xr-x    2 root     root         4096 May  2 01:41 .
  4 drwxrwxr-x   17 root     users        4096 Sep  1 23:27 ..

Dave Sherohman wrote:

On Wed, Oct 10, 2001 at 04:43:59PM +0200, pirmin2 wrote:

cedar:~# ls -ld /home
lrwxrwxrwx    1 root     users           9 May  4 02:54 /home -> /mnt/home

cedar:~# ls -las /home
0 lrwxrwxrwx    1 root     users           9 May  4 02:54 /home -> /mnt/home


First off, to save karsten the trouble:  Please send the output of

ls -ld /mnt/home
ls -las /mnt/home

to the list.

Perhaps more to the point, though, I've noticed on one of my systems
that some things tend to behave... strangely when user home
directories are under symlinks.  Is there a particular reason for
your home partition to be mounted on /mnt/home instead of just
putting it physically under /home?  If not, I would suggest changing
/home to a real directory and mounting it there.  If that's not
feasible, then consider editing /etc/passwd to change the user home
directories from /home/user to /mnt/home/user.






Reply to: