[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: chmod 0755 behaves like chmod 755
From: |
Evan Hunt |
Subject: |
Re: chmod 0755 behaves like chmod 755 |
Date: |
Thu, 4 Oct 2007 11:36:43 -0700 |
User-agent: |
Mutt/1.5.10i |
> I believe that on some implementatiions, both commands clear the bit;
> POSIX allows this too.
And that's the mandated behavior with files, isn't it?
It seems to me that, unless POSIX disallows it--and you just said it
doesn't--the principle of least surprise calls for chmod to behave the
same way with both files and directories.
> Sorry, but there is no consensus here, and portable scripts have to take
> this into account.
Clearly true, and will remain true whatever coreutils does, so let's
do the most sensible thing.
Evan Hunt
- chmod 0755 behaves like chmod 755, Jason Pepas, 2007/10/02
- Re: chmod 0755 behaves like chmod 755, Andreas Schwab, 2007/10/02
- Re: chmod 0755 behaves like chmod 755, Jason Pepas, 2007/10/03
- Re: chmod 0755 behaves like chmod 755, Paul Eggert, 2007/10/03
- Re: chmod 0755 behaves like chmod 755, Mike Frysinger, 2007/10/03
- Re: chmod 0755 behaves like chmod 755, Paul Eggert, 2007/10/04
- Re: chmod 0755 behaves like chmod 755,
Evan Hunt <=
- Re: chmod 0755 behaves like chmod 755, Paul Eggert, 2007/10/04
- Re: chmod 0755 behaves like chmod 755, Mike Frysinger, 2007/10/05
- Re: chmod 0755 behaves like chmod 755, Paul Eggert, 2007/10/05
Re: chmod 0755 behaves like chmod 755, Bob Proulx, 2007/10/03