RELENG_6 weird '..' permission troubles

James Wyatt jwyatt at RWSystems.net
Thu Feb 16 05:51:51 PST 2006


I've seen something very similar when the permissions of the mount point's 
underlieing subdirectory wasn't 777. Really strange to see, but it was a 
fallout from a company-wide change to make umask and directory permissions 
that wasn't quite implemented correctly.  Hope this helps - Jy@

On Thu, 16 Feb 2006, Dmitry Morozovsky wrote:
> Date: Thu, 16 Feb 2006 16:23:38 +0300 (MSK)
> From: Dmitry Morozovsky <marck at rinet.ru>
> To: freebsd-stable at freebsd.org
> Subject: RELENG_6 weird '..' permission troubles
> 
> Dear colleagues,
>
> I have misterious permission troubles on rather fresh RELENG_6:
>
> from root everything's ok:
>
> root at 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 at 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 at 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 at rinet.ru ***
> ------------------------------------------------------------------------
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>


More information about the freebsd-stable mailing list