Hello!

On Wed, Apr 26, 2006 at 10:38:46AM +0300, Mihai IACOB wrote:
>Hello!
>I created a couple of users with their home directory on a second disk
>drive, mounted under /usr/local. The strange thing is this message I
>get each time when I log using those accounts:

># su - scfsd
>sh: Cannot determine current working directory
>$ pwd
>sh: pwd: can't get current directory - Permission denied

>But, as soon as I issue a pwd command, everything returns to normal:

>$ cd
>$ pwd
>/usr/local/DEPOZIT/scfsd

>When I connect by ftp, I get the home directory, with no error
>messages.The drives are mounted as follows:

>$ mount
>/dev/wd0a on / type ffs (local, softdep)
>/dev/wd0d on /usr type ffs (local, nodev, softdep)
>/dev/wd0e on /var type ffs (local, nodev, softdep)
>/dev/wd1a on /usr/local/DEPOZIT type ffs (local, nodev, softdep)
>$

ls -ld /
ls -ld /usr
ls -ld /usr/local
ls -ld /usr/local/DEPOZIT
ls -ld /usr/local/DEPOZIT/scfsd

To make sure the ls -ld both with and without the filesystem from
/dev/wd1a mounted.

All these should be r and x for the user.

>[...]

Kind regards,

Hannah.

Reply via email to