From owner-freebsd-questions@FreeBSD.ORG Thu Jul 5 02:55:21 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 B643216A46B for ; Thu, 5 Jul 2007 02:55:21 +0000 (UTC) (envelope-from kelly.terry.jones@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.239]) by mx1.freebsd.org (Postfix) with ESMTP id 7694513C465 for ; Thu, 5 Jul 2007 02:55:21 +0000 (UTC) (envelope-from kelly.terry.jones@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so1399997wxd for ; Wed, 04 Jul 2007 19:55:20 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Fy2lkrg8PLmKD/cf4uWnu+TWWf2THESIHQlP16vpev6DKUukx7IOQC7AvJd0PZI1ZhED3z0MrGhRTMw00sHD01XaWCR+Mp1KC2V1MhWEdxk1i7VaYVcEb6kcDlgCwNArgRe9fp2lNkprGNMA33NugfaqvwCSYgxnhOw8c1sifbs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=R2PucV0LFABtrxp5TICMGlKETFvCCTrmScsdAqTxvdRzUJ+1DGQOzMC3YsB4y35hNXmTBsxMo7R2VwPwIBGIIKoW4vbaEahtnfMjmxaj/BkBBjq+RRgquSKyyLPWxti/QJnTK/uSbhg8TPgKRKH9lIODwe/sqbAQArnzRXSXH/4= Received: by 10.70.67.15 with SMTP id p15mr11989765wxa.1183602589592; Wed, 04 Jul 2007 19:29:49 -0700 (PDT) Received: by 10.70.16.3 with HTTP; Wed, 4 Jul 2007 19:29:49 -0700 (PDT) Message-ID: <26face530707041929r47a0bf79md6006a680776b1aa@mail.gmail.com> Date: Wed, 4 Jul 2007 20:29:49 -0600 From: "Kelly Jones" To: nmlug@nmlug.org, nmosug-l@mailman.swcp.com, linuxusersgroup@googlegroups.com, techtalk@linuxchix.org, 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 Cc: Subject: Allowing noschg in multi-user mode on Mac OS X 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: Thu, 05 Jul 2007 02:55:21 -0000 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.