On Sun, Aug 10, 2003 at 02:47:38PM -0500, David W. Tamkin wrote:
Dallman Ross wrote:
gfind / -name make -type f -maxdepth 3 -perm -50 2>/dev/null |
xargs -ls -ld
(Should be xargs ls -ld, yes?)
Yes. Pardon the heat wave here in Germany. It's 10 p.m.,
but at 85 degrees in my home office, thinking is difficult.
Aargh. -maxdepth; that would have solved the problem. Thank you.
Forgot about that one. But -perm -50? Wouldn't I be more interesting
in -perm -1? Why would I care about group permissions or write
privileges? (And why -d on ls if we've already done -type f?)
Actually, I was experimenting and had the xargs part done before
I'd finished fiddling with find. So the -d was because of that.
Perms: well, if you and the executable are in the same group,
then group perms will be what hold, not "other." Mine isn't
quite right, but I think you need more than a test for other
perms.
--
dman
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail