From owner-freebsd-questions@FreeBSD.ORG Sun Sep 3 12:39:56 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 12E1A16A506 for ; Sun, 3 Sep 2006 12:39:56 +0000 (UTC) (envelope-from jordilin@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5379D43D6A for ; Sun, 3 Sep 2006 12:39:53 +0000 (GMT) (envelope-from jordilin@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so2276975pye for ; Sun, 03 Sep 2006 05:39:52 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=GAxd0QxUMGbp5jmz/s+w0Olent5PvD7TJ1+PRLqB3myZUIgI8fNptEY99auDoK/qtmMv2+Lqd24gc4mbBtJHzTziRnRr7z2nQuKlURUzqk6RXzmSeY3wA0IjODzgU4JJwZ6RHze08VH2TrW7b/C7LXfgUX4l9IQsbo/ecuB1+40= Received: by 10.65.59.19 with SMTP id m19mr4395537qbk; Sun, 03 Sep 2006 05:39:52 -0700 (PDT) Received: by 10.65.231.11 with HTTP; Sun, 3 Sep 2006 05:39:52 -0700 (PDT) Message-ID: <94ff3700609030539n5ee37003qe667186f69cc6720@mail.gmail.com> Date: Sun, 3 Sep 2006 14:39:52 +0200 From: "Jordi Carrillo" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: File Flags in 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: Sun, 03 Sep 2006 12:39:56 -0000 In the FreeBSD handbook when it talks about the file flags permissions it says: "These flags add an additional level of security and control over files, but not directories." Well, I am able to put file flags in directories as well. If I do: mkdir curric chflags uchange curric It works well and then I can't modify the contents of the directory. So it works flawlessly. Anybody knows that everything in Unix is a file, so flags can be applied to anything. So, the handbook is wrong in this aspect, isn't it? -- http://jordilin.wordpress.com