rebuilding world - is "chflags -R noschg *" necessary?

Anton Shterenlikht mexas at
Thu Sep 23 11:19:07 UTC 2010

The fbsd manual states in section 24.7 Rebuilding "world":

in subsection 24.7.6 Remove /usr/obj

Some files below /usr/obj may have the immutable flag set (see chflags(1) for more information) which must be removed first.

# cd /usr/obj
# chflags -R noschg *
*end quote*

I've never seen a file under /usr/obj/ with immutable flag set.

Why would there be object files with immutable flag set?
Is this step really necessary?

many thanks

Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423

More information about the freebsd-questions mailing list