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?

Answers were Sorted based on User's Feedback



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

Answer / greg parrish

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 ?    13 Yes 1 No

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

Answer / 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

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

Answer / vijay

chmod 700 filename
chmod o+t filename

Is This Answer Correct ?    2 Yes 0 No

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

Answer / guest

chmod 1555+ugo filename

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Unix Commands Interview Questions

what are the different commands used to create files?

5 Answers  


what is the difference between Touch & cat command

21 Answers   QA,


What does mkdir up2date; touch outdated up2date do?

2 Answers  


Which command is used to copy files?

0 Answers  


What is a bash command?

0 Answers  






Is grep faster than awk?

0 Answers  


How do you remove a crontab file?

6 Answers  


What is a command and examples?

0 Answers  


when we installing aix os the ssh installed default?

2 Answers  


hi i have directories within the directory. Now i want to copy the directory along with all directories included in it to one location by using copy command? what is the command

2 Answers   ACS, Span Systems,


distinguish between multi-tasking,multi-user,multi- processing and time sharing?

7 Answers   Alcatel, Cisco, Infosys, University Exams,


Which command is used to create a directory?

0 Answers  


Categories