strange directory perm problem

strange directory perm problem

Post by Sean Hardin » Sat, 07 Nov 1998 04:00:00

I'm having a strange permission problem on my Solaris 2.6 (x86) machine. I
have a disk which is normally mounted as /export/shared and nfs exported
to the machines on my house network. This works fairly well, but twice now
I've had strange permissions errors when working on the local machine. For
example, I can cd to /export/shared/unix and do whatever I want. But if I
do 'pwd', I get "pwd: cannot determine current directory!". If I 'cd ..',
(to /export/shared) I get the same thing. However, from /export/shared, a
'cd ..' results in "..: Permission denied." An 'ls -al' generates:

69% ls -al
./..: Permission denied
total 1156
drwxr-xr-x  16 root     root         512 Nov  3 21:30 .
-rw-rw-rw-   1 nobody   staff     529820 Oct 31 11:28 BreakGlass.snd
drwxrwxrwt   5 nobody   staff        512 Oct 31 11:27 NeXT_Stuff
drwx------   4 nobody   staff        512 Oct 31 11:32 Network Trash Folder
drwxrwxrwt   4 nobody   staff        512 Oct 31 11:36 freebsd
drwxr-xr-x   2 wesman   staff        512 Jan 20  1998 include

However, 'ls -ld /export' generates:

drwxrwxr-x   4 root     sys          512 Nov  3 21:25 /export

And 'ls -ld /export/shared' generates:

drwxr-xr-x  16 root     root         512 Nov  3 21:30 /export/shared

So, I don't see how permission can be denied. umounting and re-mounting
the filesystem clears up the problem for a while...

Any ideas what the heck is going on here?




1. propagating directory perms to new files in that directory

I've got a directory (/var/shared) that is owned by root:shared, and is
in mode 770.  Two users (glen and ewan) are members of the 'shared'
group.  If I do `touch /var/shared/foo` as 'glen', then the file 'foo' is
owned by glen:glen.  Is there any way to configure the directory so that
the new file is automagically owned by root:shared, or at least


2. How to read lines backwards from a file?

3. strange perms on /dev/ksyms?

4. Has anyone put Digital UNIX on a SAG Alpha system??

5. umask on directories and perms on new created home dirs

6. accessing linux partitions from windoze

7. two users sharing directory perms

8. stty:susp, dsusp, kill etc...

9. Weird Directory Perms w/ncpmount

10. Potential damage to directories with drwx-wx-wx perms

11. strange problem with Konqueror in kde 3.0 - no directory listing?

12. strange problem with iPlanet Directory

13. Strange minix fs problem: duplicate core files in directory!