bug-coreutils
[Top][All Lists]
Advanced

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

Re: chmod octal form of sgid/suid removal fails


From: Paul Eggert
Subject: Re: chmod octal form of sgid/suid removal fails
Date: Mon, 14 May 2007 14:47:55 -0700
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

John Cowan <address@hidden> writes:

> Well and good, but it seems to me that writing an explicit 0 actually
> does make an explicit request.

This topic came up when I first added that feature, and originally I
agreed with you, but others did not and their arguments were
persuasive.  The counterargument is that it's strange if a leading
zero changes the semantics of a number, as this is not what many
people expect.  Please see the thread rooted here:

http://lists.gnu.org/archive/html/bug-coreutils/2006-07/msg00124.html

If you read that root, by the way, you'll see that existing practice
is wildly different in this area.  For example, on Solaris,
"chmod 2755 DIR" silently ignores the "2".




reply via email to

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