*BSD News Article 43666


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!classic.iinet.com.au!news.uoknor.edu!ns1.nodak.edu!netnews.nwnet.net!oracle.pnl.gov!osi-east2.es.net!lll-winken.llnl.gov!uwm.edu!news.alpha.net!news.mathworks.com!zib-berlin.de!irz401!not-for-mail
From: uk1@irz.inf.tu-dresden.de (Ulf Kieber)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Find bug
Date: 4 May 1995 06:37:52 +0200
Organization: Dept. of Computer Science, TU Dresden, Germany
Lines: 30
Distribution: world
Message-ID: <3o9ln0$qea@irz401.inf.tu-dresden.de>
References: <kientzleD7rAq3.5q2@netcom.com> <3o55t1$191@bonnie.tcd-dresden.de>
Reply-To: uk1@irz.inf.tu-dresden.de (Ulf Kieber)
NNTP-Posting-Host: irz401.inf.tu-dresden.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit


In article <3o55t1$191@bonnie.tcd-dresden.de>, j@narcisa.sax.de (J Wunsch)
writes:
><kientzle@netcom.com> wrote:
>
>>files listed there.)  This is apparently a bug in find's handling of
>>the -perm argument.
>>
>>        find $mount -xdev -perm -u+s -or -perm -g+s
>
>It is apparently a bug in kientzle@netcom.com's understanding of the
>(admittedly weird) find syntax.  :-)
>
>Make this
>
>	find $mount \( -xdev -perm -u+s -or -perm -g+s \) -print
>
>and it should be flying.

Shouldn't this be

        find $mount -xdev \( -perm -u+s -or -perm -g+s \) -print

-- 
Ulf Kieber

     <{uk1, news}@irz.inf.tu-dresden.de>;
     <kieber@sax.sax.de>; <ulf@maria.wustl.edu>

Don't expect me to be a breeder, and I won't assume you're a fag.