bug-findutils
[Top][All Lists]
Advanced

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

[bug #14619] find -perm +... broken in 4.2.25


From: Eric Blake
Subject: [bug #14619] find -perm +... broken in 4.2.25
Date: Sat, 8 Oct 2005 07:36:51 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7

Follow-up Comment #8, bug #14619 (project findutils):

Might I suggest the following documentation approach for the man and info
pages:

-perm mode: exact match of set and unset bits in symbolic or numeric mode;
includes symbolic modes with leading '+' but not with leading '-'

-perm -mode: match all set bits (and ignore other bits) in symbolic or
numeric mode

-perm /mode: match any set bits (and ignore other bits) in symbolic or
numeric mode

-perm +mode: match any set bits (and ignore other bits) in numeric mode (use
/mode for symbolic)

Then include an example showing how to find a file that has all three read
bits, at least one write bit, and no execute bits, in both numeric and
symbolic representation:

find . -perm -444 -perm +222 \! -perm /111
find . -perm -a+r -perm /a+w \! -perm /a+x


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14619>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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