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

distinguish between paging and swapping?

1 Answers   Infosys,


Write a grep (or grep) command that selects the lines from a file that have exactly three characters.

24 Answers   Mac, Nokia,


what is the difference between SED and GREP ? Which one is more better and why?

4 Answers   IBM,


what are processor execution levels and priorities?

2 Answers   Infosys,


What is grep and sed command?

1 Answers  






What are reported commands?

0 Answers  


How to get a particular string as your prompt ? Give syntax of that command?

3 Answers  


Is ‘du’ a command? If so, what is its use?

0 Answers  


In UNIX, what is the command to kill a process?

10 Answers  


Assume that a file’s permissions give you read and write access. What operations can you perform on the file if it is in a directory which has “r”(read) only process? What operations can you perform on the file if it is in a directory which has “x”(execute) only access?

1 Answers  


How do I clear my terminal history?

0 Answers  


what is the difference between Touch & cat command

21 Answers   QA,


Categories