Subject: Re: mounting problem?
To: Robert Dobbs <banshee@gabriella.resort.com>
From: Manuel Bouyer <bouyer@ensta.fr>
List: current-users
Date: 03/08/1995 11:39:59
> 
> 
> I have /dev/wd0g on /usr/local type ufs (local)
> as root, I see:
> atrium# pwd
> /usr/local
> atrium# ls -al
> total 10
> drwxr-xr-x  10 root   wheel  512 Mar  7 02:26 .
> drwxr-xr-x  21 root   wheel  512 Mar  6 19:00 ..
> drwxrwxr-x   3 local  local  512 Mar  7 17:11 bin
> 
> as a user, I see:
> atrium 69% pwd
> pwd: Permission denied
> atrium 70% ls -al
> ls: ..: Permission denied
> total 18
> drwxr-xr-x  10 root   wheel  512 Mar  7 02:26 ./
> 
> what the hell?

umount /usr/local and check the permissions of /usr/local. Perhaps it ismode 700, or something like this. I had the same problem, and solved it by setting
the good permissions on the mount point before mounting it.


-- 
--
Manuel Bouyer, Ecole Nationale Superieure de Techniques Avancees, Paris
email: bouyer@ensta.fr
--