Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!sun!amdcad!dgcad!dg-rtp!hunt From: hunt@dg-rtp.rtp.dg.com (Greg Hunt) Newsgroups: comp.unix.questions Subject: Re: root owned files/world writable Message-ID: <1990Nov26.154411.7107@dg-rtp.dg.com> Date: 26 Nov 90 15:44:11 GMT References: <1990Nov14.224701.15657@cs.odu.edu> Sender: usenet@dg-rtp.dg.com (Usenet Administration) Reply-To: hunt@dg-rtp.rtp.dg.com Distribution: na Organization: Data General Corp., Research Triangle Park, NC Lines: 23 In article , Dan_Jacobson@ATT.COM writes: > >>>>> On 16 Nov 90 18:21:50 GMT, hunt@dg-rtp.rtp.dg.com (Greg Hunt) said: > > Greg> find / \( -user root -perm -2 \) -print > > I don't want to be dim, but isn't this the same as > > find / -user root -perm -2 -print > > [both work ok] Yup. My mistake. Thanks for pointing it out. What I was thinking is that when you have to put one of the special symbols between the conditions (like -o for "or"), then you have to use the \( and \). Since there is no special symbol for "and", just putting the conditions next to each other, you don't have to use the parentheses. -- Greg Hunt Internet: hunt@dg-rtp.rtp.dg.com DG/UX Kernel Development UUCP: {world}!mcnc!rti!dg-rtp!hunt Data General Corporation Research Triangle Park, NC These opinions are mine, not DG's.