[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mkdir() and group id
From: |
Oystein Viggen |
Subject: |
Re: mkdir() and group id |
Date: |
Sat, 27 Apr 2002 01:41:40 +0200 |
User-agent: |
Gnus/5.090005 (Oort Gnus v0.05) XEmacs/21.1 (Capitol Reef, i386-debian-linux) |
* [Thomas Bushnell, BSG]
> Right. If you want copy-gid-on-setgid, then you need to inherit
> setgid. If not, then not.
Obviously correct. I was assuming that setgid was not inherited, but it
is. Just to be sure, I tested it, too.
So we end up with the SysV/Linux way being able to emulate the BSD/Hurd
way, but no way of forcing the other way around.
* [Marcus Brinkmann]
>> That's not true. On the Hurd, the group is always inherited, regardless
>> if you are in the group or not. Is this a bug?
* [Thomas Bushnell, BSG]
> No, I was just remembering incorrectly. It's fine, though I think the
> previous BSD behavior was as I described.
As I previously said, there are Linux distributions that use group 0 as
the wheel group. The easy solution is of course just telling the
distributors in question that this is a stupid idea on the Hurd, and
leave them to deal with it.
(Anyway, this is probably a non-issue, as the wheel on these systems is
mostly used to tell pam who is allowed to su to root)
I'm not really a strong advocate for any one of these ways, anyway, as
what we have today can be easily worked around if need be. I think the
sigmonster really said it all this time ;)
Oystein
--
If it ain't broke, don't break it.
- Re: mkdir() and group id, (continued)
- Re: mkdir() and group id, Oystein Viggen, 2002/04/26
- Re: mkdir() and group id, Paul Jarc, 2002/04/26
- Re: mkdir() and group id, Thomas Bushnell, BSG, 2002/04/26
- Re: mkdir() and group id, Paul Jarc, 2002/04/26
- Re: mkdir() and group id, Thomas Bushnell, BSG, 2002/04/26
- Re: mkdir() and group id, Marcus Brinkmann, 2002/04/26
- Re: mkdir() and group id, Thomas Bushnell, BSG, 2002/04/26
- Re: mkdir() and group id,
Oystein Viggen <=
- Re: mkdir() and group id, Thomas Bushnell, BSG, 2002/04/27
- Re: mkdir() and group id, Oystein Viggen, 2002/04/27
- Re: mkdir() and group id, Thomas Bushnell, BSG, 2002/04/27
- Re: mkdir() and group id, Paul Jarc, 2002/04/27
- Re: mkdir() and group id, Marcus Brinkmann, 2002/04/26
- Re: mkdir() and group id, Marcus Brinkmann, 2002/04/26
- Re: mkdir() and group id, Roland McGrath, 2002/04/26