Debian Bug report logs -
#59433
hurd: group permission not honoured
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, GNU Hurd Maintainers <bug-hurd@gnu.org>
:
Bug#59433
; Package hurd
.
(full text, mbox, link).
Acknowledgement sent to Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
:
New Bug report received and forwarded. Copy sent to GNU Hurd Maintainers <bug-hurd@gnu.org>
.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: hurd
Version: N/A
Severity: normal
Hi,
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.
Thanks,
Marcus
-- System Information
Debian Release: woody
Kernel Version: Linux ulysses 2.2.13 #1 Sat Nov 20 12:44:19 EST 1999 i586 unknown
Information forwarded to debian-bugs-dist@lists.debian.org, GNU Hurd Maintainers <bug-hurd@gnu.org>
:
Bug#59433
; Package hurd
.
(full text, mbox, link).
Acknowledgement sent to tb@MIT.EDU (Thomas Bushnell, BSG)
:
Extra info received and forwarded to list. Copy sent to GNU Hurd Maintainers <bug-hurd@gnu.org>
.
(full text, mbox, link).
Message #10 received at submit@bugs.debian.org (full text, mbox, reply):
Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> 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
Information forwarded to debian-bugs-dist@lists.debian.org, GNU Hurd Maintainers <bug-hurd@gnu.org>
:
Bug#59433
; Package hurd
.
(full text, mbox, link).
Acknowledgement sent to tb@MIT.EDU (Thomas Bushnell, BSG)
:
Extra info received and forwarded to list. Copy sent to GNU Hurd Maintainers <bug-hurd@gnu.org>
.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, GNU Hurd Maintainers <bug-hurd@gnu.org>
:
Bug#59433
; Package hurd
.
(full text, mbox, link).
Acknowledgement sent to Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
:
Extra info received and forwarded to list. Copy sent to GNU Hurd Maintainers <bug-hurd@gnu.org>
.
(full text, mbox, link).
Message #20 received at 59433@bugs.debian.org (full text, mbox, reply):
On Sun, Mar 05, 2000 at 03:48:55PM -0500, Thomas Bushnell, BSG wrote:
> Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> 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?
gid=uid=1000
> The Hurd supports a feature known as "groupleaders". If your uid=gid,
> then you count as the owner for any files with that group.
Oh. That would explain it of course. I will close the report.
(Sounds like an entry for the FAQ).
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org Check Key server
Marcus Brinkmann GNU http://www.gnu.org for public PGP Key
Marcus.Brinkmann@ruhr-uni-bochum.de, marcus@gnu.org PGP Key ID 36E7CD09
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/ brinkmd@debian.org
Information forwarded to debian-bugs-dist@lists.debian.org, GNU Hurd Maintainers <bug-hurd@gnu.org>
:
Bug#59433
; Package hurd
.
(full text, mbox, link).
Acknowledgement sent to Kalle Olavi Niemitalo <tosi@stekt.oulu.fi>
:
Extra info received and forwarded to list. Copy sent to GNU Hurd Maintainers <bug-hurd@gnu.org>
.
(full text, mbox, link).
Message #25 received at 59433@bugs.debian.org (full text, mbox, reply):
Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> writes:
> On Sun, Mar 05, 2000 at 03:48:55PM -0500, Thomas Bushnell, BSG wrote:
> > The Hurd supports a feature known as "groupleaders". If your uid=gid,
> > then you count as the owner for any files with that group.
>
> Oh. That would explain it of course. I will close the report.
Perhaps you should instead reassign it to adduser, as that should
be changed to avoid allocating the same id for a user and a group
unless explicitly requested (or perhaps if they have the same
name).
Information forwarded to debian-bugs-dist@lists.debian.org, GNU Hurd Maintainers <bug-hurd@gnu.org>
:
Bug#59433
; Package hurd
.
(full text, mbox, link).
Acknowledgement sent to tb@MIT.EDU (Thomas Bushnell, BSG)
:
Extra info received and forwarded to list. Copy sent to GNU Hurd Maintainers <bug-hurd@gnu.org>
.
(full text, mbox, link).
Message #30 received at 59433@bugs.debian.org (full text, mbox, reply):
Kalle Olavi Niemitalo <tosi@ees2.oulu.fi> writes:
> Perhaps you should instead reassign it to adduser, as that should
> be changed to avoid allocating the same id for a user and a group
> unless explicitly requested (or perhaps if they have the same
> name).
Isn't the normal behavior of Debian adduser to give every user a group
which matches their ID? That would be exactly in line with the
groupleaders concept; it meshes nicely.
Reply sent to Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
:
Bug acknowledged by developer.
(full text, mbox, link).
Message #35 received at 59433-done@bugs.debian.org (full text, mbox, reply):
done
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org Check Key server
Marcus Brinkmann GNU http://www.gnu.org for public PGP Key
Marcus.Brinkmann@ruhr-uni-bochum.de, marcus@gnu.org PGP Key ID 36E7CD09
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/ brinkmd@debian.org
Information forwarded to debian-bugs-dist@lists.debian.org, GNU Hurd Maintainers <bug-hurd@gnu.org>
:
Bug#59433
; Package hurd
.
(full text, mbox, link).
Acknowledgement sent to Kalle Olavi Niemitalo <tosi@stekt.oulu.fi>
:
Extra info received and forwarded to list. Copy sent to GNU Hurd Maintainers <bug-hurd@gnu.org>
.
(full text, mbox, link).
Message #40 received at 59433@bugs.debian.org (full text, mbox, reply):
tb@MIT.EDU (Thomas Bushnell, BSG) writes:
> Isn't the normal behavior of Debian adduser to give every user a group
> which matches their ID?
That is what normally happens, but it isn't enforced in any way.
So if gid 1000 has been allocated earlier and uid 1000 has not, a
new user may get uid 1000 and gid 1001. I fear this may
unexpectedly turn users to groupleaders in some cases.
If you agree, please reopen the bug and reassign it to adduser or
passwd.
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat May 4 23:07:05 2024;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.