From owner-freebsd-questions@FreeBSD.ORG Sat May 12 14:37:02 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 019981065673 for ; Sat, 12 May 2012 14:37:02 +0000 (UTC) (envelope-from four.troublesome.heads@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7CB818FC0C for ; Sat, 12 May 2012 14:37:01 +0000 (UTC) Received: by lbon10 with SMTP id n10so3456135lbo.13 for ; Sat, 12 May 2012 07:37:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=JKFJMBbRf9s6C9UwAim54FfAzZb+rkjRlkVSFz4ZIJU=; b=lc4pxnCR6qbm1E2dBy50b45Jn5HpO9td9xSsWax2iyorTiKx2qN4xh0LQ4yd+NEM+C /IlKIpuzo0/lZ8u09lov1+0YlWx9eUsgciiE+VOv2H9zI7PT0iZWnZnP1YP8rn1UeJcB uyZXsUzjrIwdjRFg+0SZLt+3JNQlBZCRKZ1AJGBGQXZJ679DrdCQmsMZJP9ZffynS+li eApxp26DQQH/jOz2N9MthkaddapyYOHzEfKpMm0vNeqGZcsiDyBMfD3HDDce7ir2rIbd JZdb8Ld41Bg7h6LaYIjXrYklxtn6DHGtmqg/HudeFl5xz5BMKvWVvds/X0uQF8Zhq20p 9LkA== MIME-Version: 1.0 Received: by 10.152.146.129 with SMTP id tc1mr1905835lab.27.1336833420202; Sat, 12 May 2012 07:37:00 -0700 (PDT) Received: by 10.112.96.36 with HTTP; Sat, 12 May 2012 07:37:00 -0700 (PDT) Date: Sat, 12 May 2012 23:37:00 +0900 Message-ID: From: fake fake To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: file permission template 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: Sat, 12 May 2012 14:37:02 -0000 I need a sort of file permission template. Under some particular directory (like ~/secret), I need all those files (including newly creating one) mode 700. Is there any template-trick? Or "chmod -R 700" every time?