[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #38474] Unintended (?) behaviour change of -perm +mode predicate
From: |
Eric Blake |
Subject: |
[bug #38474] Unintended (?) behaviour change of -perm +mode predicate |
Date: |
Sat, 20 Apr 2013 17:04:37 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0 |
Follow-up Comment #6, bug #38474 (project findutils):
> POSIX only calls out symbolic mode, not numeric mode
Well, POSIX also calls out numeric mode:
-perm [−]onum
If the <hyphen> is omitted, the primary shall evaluate as true when the file
mode
bits exactly match the value of the octal number onum (see the description of
the
octal mode in chmod). Otherwise, if onum is prefixed by a <hyphen>, the
primary
shall evaluate as true if at least all of the bits specified in onum are set.
In both
cases, the behavior is unspecified when onum exceeds 07777.
But there is no mention of parsing a '+' when deciding if a value is an onum.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38474>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #38474] Unintended (?) behaviour change of -perm +mode predicate, Andreas Metzler, 2013/04/07
- [bug #38474] Unintended (?) behaviour change of -perm +mode predicate, Andreas Metzler, 2013/04/07
- [bug #38474] Unintended (?) behaviour change of -perm +mode predicate, James Youngman, 2013/04/20
- [bug #38474] Unintended (?) behaviour change of -perm +mode predicate, Ludovic Brenta, 2013/04/20
- [bug #38474] Unintended (?) behaviour change of -perm +mode predicate, Eric Blake, 2013/04/20
- [bug #38474] Unintended (?) behaviour change of -perm +mode predicate,
Eric Blake <=
- [bug #38474] Unintended (?) behaviour change of -perm +mode predicate, Paul Eggert, 2013/04/21
- [bug #38474] Unintended (?) behaviour change of -perm +mode predicate, James Youngman, 2013/04/22
- [bug #38474] Unintended (?) behaviour change of -perm +mode predicate, Eric Blake, 2013/04/22
- [bug #38474] Unintended (?) behaviour change of -perm +mode predicate, Paul Eggert, 2013/04/22
- [bug #38474] Unintended (?) behaviour change of -perm +mode predicate, James Youngman, 2013/04/24
- [bug #38474] Unintended (?) behaviour change of -perm +mode predicate, Paul Eggert, 2013/04/24