From owner-freebsd-questions@FreeBSD.ORG Wed May 7 23:11:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB602106566C for ; Wed, 7 May 2008 23:11:44 +0000 (UTC) (envelope-from fbsd06+VW=3bb223d1@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 829D08FC22 for ; Wed, 7 May 2008 23:11:44 +0000 (UTC) (envelope-from fbsd06+VW=3bb223d1@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 5B92223E4B6 for ; Wed, 7 May 2008 19:11:42 -0400 (EDT) Date: Thu, 8 May 2008 00:11:40 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20080508001140.7b4cbe2b@gumby.homeunix.com.> In-Reply-To: <1210169832.2585.3.camel@frodon.be-bif.ulb.ac.be> References: <482198FA.8070708@lc-words.com> <1210169657.2585.1.camel@frodon.be-bif.ulb.ac.be> <1210169832.2585.3.camel@frodon.be-bif.ulb.ac.be> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: chmod operation on directories / files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2008 23:11:44 -0000 On Wed, 07 May 2008 16:17:12 +0200 Julien Cigar wrote: > sorry.. | xargs chmod instead of | xargs | chmod ... It will still fail on a directory name that contains a space (this is a difference between Gnu and BSD). You need: find ... -print0 | xargs -0