Follow-up Comment #3, bug #14748 (project findutils):

Think of the converse, using the same example as before.  What does "! -perm
/000" match?
"! -perm -+x" matches all files where any x bit is clear, or 000 and 100.
"! -perm /+x" matches all files where all x bits are clear, or 000.
Therefore,
"! -perm --x" matches all files where any bits in the mask are clear (there
are no bits), or nothing at all (good, that was the opposite of "-perm --x"
matching everything).
"! -perm /-x" matches all files where all bits in the mask are clear (there
are no bits), or nothing at all.

I still argue that -perm --x and -perm /-x should be identical.

    _______________________________________________________

Reply to this item at:

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

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



_______________________________________________
Bug-findutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-findutils

Reply via email to