how to lock file in solaris ?

How can I lock a file in solaris.. I had seen something like -rwl------ or -rlx------ as a file permission somewhere.
But I forgot how to get this ? can someone please help me ?
Who is Participating?
Brian UtterbackConnect With a Mentor Principle Software EngineerCommented:
See the man page for chmod. You can set the Mandatory locking bit with chmod. I am not sure that it is going to do what you want though. Depends on what you want.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.