On Sat, Jun 25, 2016 at 07:25:59AM +0200, Andreas Perstinger wrote: > On 2016-06-25 05:07, Ken Moffat wrote: > > You need to use parentheses. "find" implicitly uses the "and" operator > between two tests unless another operator is specified: > [...] > > In your case, there is an "and" operator between the last permission test > and the "exec" action and since the "and" operator has higher precedence > than "or", "exec" only works for files that matches the last permission > test. > > Bye, Andreas
Thanks, both to you and to Pierre. Maybe I would have less trouble with find if I had studied Computer Science - I only did training for programming (mainframe applications in the payroll area) and picked the rest up (or in this case failed to pick it up) as I went along. ĸen -- Yes, you CAN fool most of the people some of the time. -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
