[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 /kernel*" gives:

-r-xr-xr-x  1 root  wheel  schg 1458708 Jul 30 09:01 /kernel
-r-xr-xr-x  1 root  wheel  -    3258128 Nov 21  2000 /kernel.GENERIC

/kernel has schg, but kernel.GENERIC has no flags set.

Tony
-- 
Tony Landells                                           <[EMAIL PROTECTED]>
Principal Networks, Security & IT Systems Engineer      Ph:  +61 3 9677 9319
Australian Clearing Services Pty Ltd                    Fax: +61 3 9677 9355
Level 4, Rialto North Tower
525 Collins Street
Melbourne VIC 3000
Australia



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to