bug-coreutils
[Top][All Lists]
Advanced

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

Re: chmod 0755 behaves like chmod 755


From: Paul Eggert
Subject: Re: chmod 0755 behaves like chmod 755
Date: Wed, 03 Oct 2007 09:59:52 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Jason Pepas <address@hidden> writes:

> was there a reason for this?  I hardly think someone would put a
> leading octal 0 in by mistake...

This came up in previous discussion, and the consensus at the time is
that leading zeros should not matter, just as they don't matter in
ordinary numeric representation.  Other implementations disagree with
each other on this matter.  Obviously there is no standard in this
area, so portable scripts shouldn't rely on any particular behavior
for "0755".




reply via email to

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