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)
$

my /etc/fstab is:
/dev/wd0a / ffs rw,softdep 1 1
/dev/wd0d /usr ffs rw,softdep,nodev 1 2
/dev/wd0e /var ffs rw,softdep,nodev 1 2
/dev/wd1a /usr/local/DEPOZIT ffs rw,softdep,nodev 1 2

and my box is a 3.6 GENERIC#6 - with all patches applied. Have you met
something like this before? Any ideas why is this happening?
Regards,
Mihai

Reply via email to