Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Sep 2006 14:39:52 +0200
From:      "Jordi Carrillo" <jordilin@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   File Flags in directories
Message-ID:  <94ff3700609030539n5ee37003qe667186f69cc6720@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



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