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:
------------
[EMAIL PROTECTED]:/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':
--------------
[EMAIL PROTECTED]:/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/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to