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: Andreas Metzler
Subject: [bug #14619] find -perm +... broken in 4.2.25
Date: Sun, 9 Oct 2005 11:07:56 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.11) Gecko/20050815 Debian/1.7.11-0.0.0.amsarge.1

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

Hello,
I've attached a minor documention update, giving a suggestion _why_ -perm -+x
works. I'd appreciate review.

Eric, find's -perm seems to ignore umask:

With umask 0022 the mode "+r" evaluates as 0220:
------------
address@hidden:/tmp$ LC_ALL=C chmod -v +w 0000
mode of `0000' changed to 0220 (-w--w----)
------------

however GNU find ignores umask and evaluates '+w' as '0222':
--------------
address@hidden:/tmp$ find findtest/ -perm +w -printf '%m\n'
222
--------------

Is this a bug?
              cu andreas
    _______________________________________________________

Additional Item Attachment:

File name: perm.diff                      Size:3 KB
docupdate
<http://savannah.gnu.org/bugs/download.php?item_id=14619&item_file_id=3034>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/





reply via email to

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