Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 2000 23:45:42 +0000 (WET)
From:      Nuno Teixeira <nuno.teixeira@pt-quorum.com>
To:        freebsd-bugs@freebsd.org
Cc:        stable@freebsd.org
Subject:   chflags bug?
Message-ID:  <Pine.BSF.4.21.0012172336010.794-100000@gateway.bogus>

next in thread | raw e-mail | index | archive | help
Hello to all,

I'm using FreeBSD RELEASE 4.2 and I have a problem with chflags.

The problem is: if I set on the 'schg' flag to a file, then I cannot
remove it with the 'noschg' option.

If I do the same to the 'uchg' flag then I can set it and remove it with
no problems.

example:

#touch /tmp/flags
#chflags schg /tmp/flags
[OK]
#chflags noschg /tmp/flags
[chflags: flags: operation not permitted

My problem is that I have the /.kernel with schg flag on and I can
recompile and install my new kernel configuration.

Thanks very much,

Nuno Teixeira






To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0012172336010.794-100000>