bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mkdir() and group id


From: Joshua Judson Rosen
Subject: Re: mkdir() and group id
Date: Thu, 25 Apr 2002 20:33:06 -0400
User-agent: Mutt/1.3.28i

On Fri, Apr 26, 2002 at 02:00:44AM +0200, Marcus Brinkmann wrote:

[... Marcus writes about The Hurd's node-creation uses parent-dir's group...]

> One remark is that defaulting to giving it the group id of the
> parent directory makes the sgid flag a bit pointless.
> So it seems to be more featureful to default to giving the gid the
> gid of the process.

That was one of my thoughts when I first came to The Hurd...

> This also will be in line with the popular Linux kernel, so is les
> surprising for many users coming from there

... and I was surprised because I came from Linux....

> , and relieves us from fixing the broken package build scripts (I am
> not sure how many there are.  Potentially many, but as long as you
> build as root in root owned directories

or use fakeroot?

> we won't easily notice most of them).  I guess we are imitating some
> BSD behaviour here?

> What do modern BSDs do?

Part of my reaction to discovering this `strange' behaviour was to
log into the nearest FreeBSD machine to see whether I was seeing a
Linuxism or a Hurdism--FreeBSD seems to behave as The Hurd does.

I think that I prefer Linux's behaviour.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]