Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2008 00:11:40 +0100
From:      RW <fbsd06@mlists.homeunix.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: chmod operation on directories / files
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 07 May 2008 16:17:12 +0200
Julien Cigar <jcigar@ulb.ac.be> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080508001140.7b4cbe2b>