I have a directory with particular permissions on it, etc., that I want to
make _absolutely sure_ never gets changed to different permissions.
So I figured, easy, I'll just:
chflags schg /dir
but I notice that once you chflags schg a directory, you can no longer
write to that directory
[EMAIL PROTECTED] said:
When setting the the sytem/user immutable flag on a file is there
anyway to tell by looking at the file's perms that it has been set
immuteable ? Or is there a command to check this ?
From man ls
-o Include the file flags in a long (-l) output.
so ls -lo
On Fri, Sep 27, 2002 at 11:42:48AM +0930, Wilkinson,Alex wrote:
Howdy all,
When setting the the sytem/user immutable flag on a file is there anyway
to tell by looking at the file's perms that it has been set immuteable ?
Or is there a command to check this ?
'ls -lo' will show you the file
At 09:55 2002-09-17 -0400, you wrote:
Jimmy Lantz [EMAIL PROTECTED] writes:
I'm looking for away to write protect
some files whats the pros and cons
with having the file on a seperate partition and mount that read-only
or use the chflags schg and go to kernel security level 2?
*Either
Hi,
I'm looking for away to write protect
some files whats the pros and cons
with having the file on a seperate partition and mount that read-only
or use the chflags schg and go to kernel security level 2?
/ Jim.
NB.
I'm sending this for the second time, and I do apologize if this in fact
On Tue, Sep 17, 2002 at 10:39:10AM +0200, Jimmy Lantz wrote:
I'm looking for away to write protect
some files whats the pros and cons
with having the file on a seperate partition and mount that read-only
or use the chflags schg and go to kernel security level 2?
Either should work fine
Jimmy Lantz [EMAIL PROTECTED] writes:
I'm looking for away to write protect
some files whats the pros and cons
with having the file on a seperate partition and mount that read-only
or use the chflags schg and go to kernel security level 2?
*Either* way you probably want to raise