Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2006 16:23:38 +0300 (MSK)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        freebsd-stable@FreeBSD.org
Subject:   RELENG_6 weird '..' permission troubles
Message-ID:  <20060216161726.M91053@woozle.rinet.ru>

next in thread | raw e-mail | index | archive | help
Dear colleagues,

I have misterious permission troubles on rather fresh RELENG_6:

from root everything's ok:

root@hasmter:/usr# ls -la /usr/
total 48
drwxr-xr-x  13 root  wheel      512 Feb  2 20:59 ./
drwxr-xr-x  20 root  wheel      512 Feb 16 14:37 ../
drwxrwx---   2 root  operator   512 Feb 16 15:58 .snap/
drwxr-xr-x   3 root  wheel      512 Feb  2 16:08 X11R6/
...

from myself too:

marck@hasmter:~> ls -la /usr/
total 48
drwxr-xr-x  13 root  wheel      512 Feb  2 20:59 ./
drwxr-xr-x  20 root  wheel      512 Feb 16 14:37 ../
drwxrwx---   2 root  operator   512 Feb 16 15:58 .snap/
drwxr-xr-x   3 root  wheel      512 Feb  2 16:08 X11R6/
...
marck@hasmter:~> id
uid=268(marck) gid=268(marck) groups=268(marck), 0(wheel), 5(operator)

but from really unprivileged user:

%id
uid=1008(nata) gid=1008(nata) groups=1008(nata), 24(samba)
%ls -la /usr
ls: ..: Permission denied
total 46
drwxr-xr-x  13 root  wheel      512 Feb  2 20:59 .
drwxrwx---   2 root  operator   512 Feb 16 15:58 .snap
drwxr-xr-x   3 root  wheel      512 Feb  2 16:08 X11R6
...

The same on other mountpoints. fsck is ok. 

Any hints? 


Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060216161726.M91053>