[vox-tech] total wierdness with permissions

Rod Roark vox-tech@lists.lugod.org
Sat, 1 Jun 2002 12:01:44 -0700


That's weird.  Can you boot from a different root filesystem?
If a fsck doesn't fix it, then it must be some kind of bug.

One thought: single-character login IDs are probably not
well-tested... you could try changing "p" to "pete" in
/etc/passwd, /etc/shadow and /etc/group.

-- Rod

On Saturday 01 June 2002 11:36 am, 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)         =3D -1 EACCES (Permission de=
nied)
>    write(2, "ls: ", 4)                     =3D 4
>    write(2, "base/maps", 9)                =3D 9
>    write(2, ": Permission denied", 19)     =3D 19
>    write(2, "\n", 1)                       =3D 1
>    lstat64("base/textures", 0x8053a64)     =3D -1 EACCES (Permission de=
nied)
>    write(2, "ls: ", 4)                     =3D 4
>    write(2, "base/textures", 13)           =3D 13
>    write(2, ": Permission denied", 19)     =3D 19
>
>
> i'm stumped at the moment.   help?
>
> pete