The fix is easy. a copy/paste bug. in lib/modechange.c line 427 says value |= (value & S_IWOTH ? S_IWUSR | S_IRGRP : 0); it should be value |= (value & S_IWOTH ? S_IWUSR | S_IWGRP : 0); the same bugs are at line 422 and 417. Am i right?
On Saturday 17 November 2001 01:41, Bob Proulx wrote: > Probably no one had time to send you a response. I put your bug on > the list to be fixed. Thanks for submitting it. > > Bob > > > bug or feature? > > > > How to repruduce it: > > $ umask 0 > > $ chmod 007 1.txt && ls -l 1.txt | cut -b-10 > > -------rwx > > $ chmod g=o 1.txt && ls -l 1.txt| cut -b-10 > > ----r-xrwx > > $ chmod u=o 1.txt && ls -l 1.txt| cut -b-10 > > -rwxr-xrwx > > > > What is wrong: the write bit of the group is not set in g=o > > at least is not documented. > > > > -------------------- > > $ chmod --version > > chmod (fileutils) 4.1 > > Written by David MacKenzie. > > > > Copyright (C) 2001 Free Software Foundation, Inc. > > This is free software; see the source for copying conditions. There is > > NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > > PURPOSE. > > > > running in linux with libc-2.2.3 > > > > _______________________________________________ > > Bug-fileutils mailing list > > [EMAIL PROTECTED] > > http://mail.gnu.org/mailman/listinfo/bug-fileutils _______________________________________________ Bug-fileutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-fileutils