From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 15:56:15 2007 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 8349816A417 for ; Mon, 10 Sep 2007 15:56:15 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.184]) by mx1.freebsd.org (Postfix) with ESMTP id 3DBB913C45D for ; Mon, 10 Sep 2007 15:56:14 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so1016301rvb for ; Mon, 10 Sep 2007 08:56:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=xPx1W6zWSytglRTZ/N7Xyi5sfTEsQ3KA96iJyp7w4cg=; b=KN4Cr05VJmuov1WjTQ1HXkSeai+/U0IH8nERc/YaWMakS79/tJYY/EVKrz8rNNKDfCfd25HuetXv1QdAPCJh9L4sFQfWP7OxiyfCizbQz2p9e6hzuDeTOsI5BT6WiE0xYy5A3vvaB13/fzsVYRpWj2PLUFJc1g9VWjMXXzGPw0w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=J/j2BUY9HfV7FL+B2FxG5bR3Li50zfRrnbRU6GK9GUj4oLIYDw2rbG/aMRHcVHCHJx7pdAZVBmT+iL/mzvZ4SOv3RYNfmg8MAg2CFtqgpL/tk+p5KmHPVcgdbv+/HBdS7Iv9T/NV326cJCsegGBrg9PuJYIvGxyajJcPDpI2enY= Received: by 10.141.170.10 with SMTP id x10mr1891597rvo.1189439772315; Mon, 10 Sep 2007 08:56:12 -0700 (PDT) Received: by 10.141.79.9 with HTTP; Mon, 10 Sep 2007 08:56:12 -0700 (PDT) Message-ID: <94136a2c0709100856q768b101as96e1e6d16312d374@mail.gmail.com> Date: Mon, 10 Sep 2007 17:56:12 +0200 From: "Zbigniew Szalbot" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: chmod / files and directories 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: Mon, 10 Sep 2007 15:56:15 -0000 Hello, I did read man chmod but I am not really wiser. Is there an option to recursively set 755 permissions for directories and 644 for files? When I just issue chmod -R 755 /usr/local/www/data/wp/ then all files and directories under wp/ are given permissions 755 which is not what I want. I can do it manually but since there are manyt subdirectories I thought I would make my life easier. Many thanks in advance! Zbigniew Szalbo