[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #38474] Unintended (?) behaviour change of -perm +mode predicate
From: |
Matthijs Kooijman |
Subject: |
[bug #38474] Unintended (?) behaviour change of -perm +mode predicate |
Date: |
Wed, 06 Mar 2013 08:50:39 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1 Iceweasel/14.0.1 |
URL:
<http://savannah.gnu.org/bugs/?38474>
Summary: Unintended (?) behaviour change of -perm +mode
predicate
Project: findutils
Submitted by: matthijs
Submitted on: Wed 06 Mar 2013 08:50:37 AM GMT
Category: find
Severity: 3 - Normal
Item Group: Wrong result
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.5.11
Fixed Release: None
_______________________________________________________
Details:
It seems that in findutils 4.5.11 the find -perm +mode has broken (with a
numerical mode). -perm /mode is still working as expected and as before.
See this example:
$ mkdir /tmp/foo
$ touch /tmp/foo/bar
$ chmod u+x /tmp/foo/bar
$ find --version | head -1
find (GNU findutils) 4.4.2
$ find /tmp/foo -perm +0100
/tmp/foo
/tmp/foo/bar
$ find /tmp/foo -perm /0100
/tmp/foo
/tmp/foo/bar
$ find --version | head -1
find (GNU findutils) 4.5.10
$ find /tmp/foo -perm +0100
/tmp/foo
/tmp/foo/bar
$ find /tmp/foo -perm /0100
/tmp/foo
/tmp/foo/bar
$ find --version | head -1
find (GNU findutils) 4.5.11
$ find /tmp/foo -perm +0100
$ find /tmp/foo -perm /0100
/tmp/foo
/tmp/foo/bar
Note that with version 4.5.11, -perm +0100 returns no files, even though there
is an executable directory and file present.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38474>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #38474] Unintended (?) behaviour change of -perm +mode predicate,
Matthijs Kooijman <=