root owned files/world writable
Greg Hunt
hunt at dg-rtp.rtp.dg.com
Tue Nov 27 02:44:11 AEST 1990
In article <DANJ1.90Nov17154440 at cbnewse.ATT.COM>, Dan_Jacobson at ATT.COM writes:
> >>>>> On 16 Nov 90 18:21:50 GMT, hunt at 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 at 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.
More information about the Comp.unix.questions
mailing list