From owner-freebsd-questions@FreeBSD.ORG Sat Mar 12 11:54:00 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6028516A4CE for ; Sat, 12 Mar 2005 11:54:00 +0000 (GMT) Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34DF343D46 for ; Sat, 12 Mar 2005 11:54:00 +0000 (GMT) (envelope-from fteg@london.com) Received: from wfilter.us4.outblaze.com (wfilter.us4.outblaze.com [205.158.62.180])CD5F118001A2 for ; Sat, 12 Mar 2005 11:53:59 +0000 (GMT) X-OB-Received: from unknown (205.158.62.49) by wfilter.us4.outblaze.com; 12 Mar 2005 11:53:59 -0000 Received: by ws1-1.us4.outblaze.com (Postfix, from userid 1001) id C14EF4BE6D; Sat, 12 Mar 2005 11:53:59 +0000 (GMT) Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received: from [127.0.0.1] by ws1-1.us4.outblaze.com with http for fteg@london.com; Sat, 12 Mar 2005 06:53:59 -0500 From: "Fafa Diliha Romanova" To: questions@freebsd.org Date: Sat, 12 Mar 2005 06:53:59 -0500 X-Originating-Ip: 127.0.0.1 X-Originating-Server: ws1-1.us4.outblaze.com Message-Id: <20050312115359.C14EF4BE6D@ws1-1.us4.outblaze.com> Subject: chmod equivalent to find commands X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2005 11:54:00 -0000 hello. i know there's an equivalent to these two find commands that can be summed up in one chmod command: find . -type d -exec chmod 755 {} \; find . -type f -exec chmod 644 {} \; it fixes my permissions ... i haven't tested this yet but i think it's wrong: chmod -R u+rwX,a+rX what would be the best solution here? thanks, -- fafa --=20 ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm