[vox-tech] total wierdness with permissions

Matt Roper vox-tech@lists.lugod.org
Sat, 1 Jun 2002 12:05:53 -0700


Very strange.  What does 'lsattr' say about these directories?  I don't
think any of the special ext2 attributes should affect this, but it's
still something to look at.


Matt

On Sat, Jun 01, 2002 at 11:36:13AM -0700, Peter Jay Salzman wrote:
> this is with the root user:
> 
> 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
> 
> 
> i'm stumped at the moment.   help?
> 
> pete
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

-- 

*************************************************
* Matt Roper <matt@mattrope.com>                *
* http://www.mattrope.com                       *
* PGP Key: http://www.mattrope.com/mattrope.asc *
*************************************************