Marcus Brinkmann <[EMAIL PROTECTED]> writes:

> As root:
> # echo do not see > /tmp/secret
> # chgrp marcus /tmp/secret
> # chmod go-r /tmp/secret
> 
> Now /tmp/secret looks like this:
> -rw------- root marcus tmp/secret
> 
> Now login as marcus, who belongs to group marcus and nothing else.
> $ cat /tmp/secret
> do not see
> 
> This might also be a glibc bug, I dunno.

I suspect this is not a bug at all.

What is the gid marcus and what is the uid marcus?

The Hurd supports a feature known as "groupleaders".  If your uid=gid,
then you count as the owner for any files with that group. 

Thomas

Reply via email to