[vox-tech] total wierdness with permissions

vox-tech@lists.lugod.org vox-tech@lists.lugod.org
Mon, 3 Jun 2002 13:48:51 -0400


On Sat, Jun 01, 2002 at 11:36:13AM -0700, Peter Jay Salzman wrote:
> this is with the root user:

- is this filesystem nfs mounted?
- what does "pwd" and "df" for the examples below show?
- are you really root?  (not inside a fakeroot)

> i can "ls" the directory but not "ls -la":
>    lucifer# ls -la
>    drwxr-xr-x    3 p        p            4.0k May 29 16:43 ./
>    drwxr-xr-x    6 p        p            4.0k May 29 16:46 ../
>    drwx------    4 p        p            4.0k Nov 27  2001 base/
>    -rw-------    1 p        p            1.5k Dec 16 16:25 livingworld.txt
>    
>    lucifer# ls base/
>    maps/  textures/
>    
>    lucifer# ls -la base/
>    ls: base/.: Permission denied
>    ls: base/..: Permission denied
>    ls: base/maps: Permission denied
>    ls: base/textures: Permission denied
> 
> 
> 
> filesystem is ext3.  debian woody, libc 2.2.5.  i think strace simply
> gives a restatement of the problem:
> 
>    lstat64("base/maps", 0x8053a64)         = -1 EACCES (Permission denied)
>    write(2, "ls: ", 4)                     = 4
>    write(2, "base/maps", 9)                = 9
>    write(2, ": Permission denied", 19)     = 19
>    write(2, "\n", 1)                       = 1
>    lstat64("base/textures", 0x8053a64)     = -1 EACCES (Permission denied)
>    write(2, "ls: ", 4)                     = 4
>    write(2, "base/textures", 13)           = 13
>    write(2, ": Permission denied", 19)     = 19