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

Write a command to display a file’s contents in various formats?

0 Answers  


Which command will print your home directory on screen?

0 Answers  


How do I search for text in vi?

0 Answers  


the difference between a soft link and a hard link?

6 Answers  


What is .sh file?

0 Answers  






what is the command to list all files in a directory, including the hidden files in UNIX ?

9 Answers   CTS,


How do you grep recursively?

0 Answers  


describe the escaping sequence characteres in unix

1 Answers  


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

0 Answers  


how to find largest file?

14 Answers   HCL, Microsoft, Thomson Reuters,


what is the default signal kill in unix?

8 Answers   IBM,


How do you stop a running process?

7 Answers  


Categories