Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jul 2007 20:29:49 -0600
From:      "Kelly Jones" <kelly.terry.jones@gmail.com>
To:        nmlug@nmlug.org, nmosug-l@mailman.swcp.com, linuxusersgroup@googlegroups.com,  techtalk@linuxchix.org, freebsd-questions@freebsd.org
Subject:   Allowing noschg in multi-user mode on Mac OS X
Message-ID:  <26face530707041929r47a0bf79md6006a680776b1aa@mail.gmail.com>

Next in thread | Raw E-Mail | Index | Archive | Help
Most FreeBSD kernels let you set a flag(?) to decide whether "chflags
noschg" will work in multi-user mode.

How do I do this w/ Mac OS X? Here's what happens when I do "chflags
noschg" in multi-user mode:

# chflags noschg test.txt
chflags: test.txt: Operation not permitted

The opposite, "chflags schg", works fine. I realize this is a security
feature (you can protect files in multi-user mode, but not vica
versa), but it's annoying.

I also realize I can boot into single-user mode
(http://docs.info.apple.com/article.html?artnum=106388) where "chflags
noschg" works just fine, but I'd like to use noschg more as advisory
protection from myself, not something that requires single-user mode
to undo.

-- 
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?26face530707041929r47a0bf79md6006a680776b1aa>