bug-coreutils
[Top][All Lists]
Advanced

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

Re: chmod set-gid/set-uid behavior change issues


From: Paul Eggert
Subject: Re: chmod set-gid/set-uid behavior change issues
Date: Thu, 27 Jul 2006 02:36:07 -0400
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Eric Blake <address@hidden> writes:

> Should we document "chmod 00500 dir" as an explicit way to clear the bit,
> or just require a textual mode string?

Are you proposing that a directory's setgid bit be preserved if 4 or
fewer octal digits are used, and be set or cleared if 5 or more are
used?  That would be yet another way to handle the problem, I suppose.

Anyway, the current CVS coreutils documents the current CVS behavior,
which is that "chmod 0500 dir" clears the setgid bit, but "chmod 500
dir" preserves it.  If we want to change the behavior I plan to change
both code and documentation.




reply via email to

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