How to set sticky bit, or it have any seperate directory to
create sticky bit in sunfir servers.

Please help me , i don't no the exact answer?

Answer Posted / gparrish

I have an account now!

Typically the sticky bit is set on most *nix systems in the
/tmp directory. You can set the bit on any directory with
the commands:

chmod +t /dirname

OR

chmod 1644 /dirname

Here is 1 is the sticky bit and 644 are your common
directory permissions. The /tmp dir for example is usually
set to 1777.

-greg

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is .sh file?

611


How does shebang work?

584


Which command is used to delete all files in the current directory and all its sub-directories?

654


Which command is used to find whether the system is 32 bit or 64 bit?

625


What is the use of cut command in unix?

682






Which unix command lists files/folders in alphabetical order?

610


How do you grep a case insensitive?

532


What are the dos commands?

640


What is “chmod” command?

558


What is a command and examples?

573


What do chgrp command do?

582


Name the various commands that are used for the user information in unix.

534


What happens when we execute a unix command?

591


Which unix command to make a new directory?

583


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

788