[EMAIL PROTECTED] 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                                [EMAIL PROTECTED]
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


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to