immutable bit question


 
Thread Tools Search this Thread
Operating Systems Solaris immutable bit question
# 1  
Old 04-08-2009
immutable bit question

Hi! All

Just wondering if anyone has a idea about setting the immutable bit
on a Solaris 10 ZFS file

I tried this
chmod S+ci toto.txt
and got that :-(
chmod: ERROR: invalid mode
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

Which version of Windows Vista to install with a product key? 32-bit or 64-bit?

Hello everyone. I bought a dell laptop (XPS M1330) online which came without a hard drive. There is a Windows Vista Ultimate OEMAct sticker with product key at the bottom case. I checked dell website (here) for this model and it says this model supports both 32 and 64-bit version of Windows... (4 Replies)
Discussion started by: milhan
4 Replies

2. Shell Programming and Scripting

Bit of a math question

I have a number, say 174. I need to write bash code that will find the first larger number that ends in 99. That would be 199 in this case. If the number were 1263, I would be looking for 1299, for 175438, I would want 175499, etc. If the numbers were always three digit, I could just grab the... (11 Replies)
Discussion started by: LMHmedchem
11 Replies

3. Shell Programming and Scripting

How to handle 64 bit arithmetic operation at 32 bit compiled perl interpreter?H

Hi, Here is the issue. From the program snippet I have Base: 0x1800000000, Size: 0x3FFE7FFFFFFFF which are of 40 and 56 bits. SO I used use bignum to do the math but summing them up I always failed having correct result. perl interpreter info, perl, v5.8.8 built for... (0 Replies)
Discussion started by: rrd1986
0 Replies

4. Solaris

immutable flag or similar for Solaris 10 / ZFS

Hi We have two dirs where a customer needs full access. I wish to avoid technically that the customer cant delete those two dirs. In Linux world, you have immutable flags (ACL) for this. Howto do the same with Solaris 10 and ZFS? (5 Replies)
Discussion started by: slashdotweenie
5 Replies

5. UNIX for Dummies Questions & Answers

Question regarding permision and seguid bit (sticky bit)

Hi , I am having file permision as drwxrwsr_x I kwo for deleting a file in the diretory i need w permsion as well .. Say if i am having the permsion as drwxrwsrwx - wil any one can delete the files in the directory .. And one more question what is the s doing there ..... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies

6. Programming

copying or concatinating string from 1st bit, leaving 0th bit

Hello, If i have 2 strings str1 and str2, i would like to copy/concatenate str2 to str1, from 1st bit leaving the 0th bit. How do i do it? (2 Replies)
Discussion started by: jazz
2 Replies
Login or Register to Ask a Question
CHFLAGS(1)						      General Commands Manual							CHFLAGS(1)

NAME
chflags - change file flags SYNOPSIS
chflags [-R] [-f]flags file ... DESCRIPTION
The chflags utility modifies the file flags of the listed files as specified by the flags operand. The options are as follows: -R Change the file flags for the file hierarchies rooted in the files instead of just the files themselves. -f chflags will not complain if it fails to change the flags on a file. Flags are a comma separated list of keywords. The following keywords are currently defined: arch No effect. This bit is defined and will be set/cleared as requested but nothing in the system makes use of it yet. dump Set the dump flag sappnd Set the system append-only flag (super-user only) schg Set the system immutable flag (super-user only) uappnd Set the user append-only flag (owner or super-user only) uchg Set the user immutable flag (owner or super-user only) Putting the letters no before an option causes the flag to be turned off. For example: nodump the file should never be dumped Symbolic links do not have flags and are silently ignored by chflags. When the -R option is given and symbolic links are encountered they are not traversed. This is the same behaviour as chmod(1). The chflags utility exits 0 on success, and >0 if an error occurs. SEE ALSO
chflags(2), stat(2), symlink(7) 4th Berkeley Distribution November 28, 1994 CHFLAGS(1)