bug-coreutils
[Top][All Lists]
Advanced

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

Re: coreutils-6.9 build/check-root: test/rm failed on no-give-up


From: John Cowan
Subject: Re: coreutils-6.9 build/check-root: test/rm failed on no-give-up
Date: Thu, 3 May 2007 13:25:36 -0400
User-agent: Mutt/1.5.13 (2006-08-11)

address@hidden scripsit:
> 
> > The permissions of "." (the directory containing "d") were set
> > to be rwx------ (aka u=rwx), so that rmdir by non-owner should
> > have failed, regardless of the umask.
> 
> I thought "chmod u=rwx ." only sets user permissions without changing
> group or other permissions? Probably it should be "chmod 755 ." or so.

Quite right:  u= resets only the user bits, leaving the group and
other bits alone.  This is the actual behavior of coreutils 6.7
(which is the latest Cygwin release) and the specified behavior of SUSv3.

-- 
John Cowan                                address@hidden
I amar prestar aen, han mathon ne nen,    http://www.ccil.org/~cowan
han mathon ne chae, a han noston ne 'wilith.  --Galadriel, LOTR:FOTR




reply via email to

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