wht is the umask value to crate directory with only rw
options to root..?

Answers were Sorted based on User's Feedback



wht is the umask value to crate directory with only rw options to root..?..

Answer / rams

umask 177

drw------- 2 ramas sysadmin 512 Mar 6 15:21 ttt

Is This Answer Correct ?    9 Yes 2 No

wht is the umask value to crate directory with only rw options to root..?..

Answer / senthilakshmi

UMASK Value will be "000".

Root overrides all the permissions.

Example:

# chmod 000 test
# ls -ld test
d--------- 2 root root 512 Jun 19 16:02 test
# cd test
# pwd
/test
# mkdir test
# ls -l
total 2
drwxr-xr-x 2 root root 512 Jun 19 16:02 test
# touch test1
# ls -l
total 2
drwxr-xr-x 2 root root 512 Jun 19 16:02 test
-rw-r--r-- 1 root root 0 Jun 19 16:03 test1
#

Is This Answer Correct ?    1 Yes 2 No

wht is the umask value to crate directory with only rw options to root..?..

Answer / senthil kumar

Dear All,

Kindly ignore the above answer.

UMASK Value will be "777".

Root overrides all the permissions.

Example:

# chmod 000 test
# ls -ld test
d--------- 2 root root 512 Jun 19 16:02 test
# cd test
# pwd
/test
# mkdir test
# ls -l
total 2
drwxr-xr-x 2 root root 512 Jun 19 16:02 test
# touch test1
# ls -l
total 2
drwxr-xr-x 2 root root 512 Jun 19 16:02 test
-rw-r--r-- 1 root root 0 Jun 19 16:03 test1
#

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Solaris AllOther Interview Questions

purpose of lost+found..?

2 Answers   UHG,


What is the difference between Vxdmp and EMC powerpath?

2 Answers  


how to check packets transmission statistcs b/w servers..?

3 Answers  


benifits of SMF over LRC

1 Answers  


How to merge solaris partition

2 Answers   TCS,






If you try to send an e-mail to someone and the following message appear "Message Undeliverable", what could be wrong?

3 Answers   Wipro,


Hi All, Q. I have one log file that log file contains application message but the application message in log file not append any date value. so after 1 to 2 date that file is big size , I want to delete contents only that was appended before 4 days ago from that single file and rest of the file contents would be remains same.

2 Answers   HP,


I am not login to server with telnet and ssh then what to do?

3 Answers   Symphony,


user trying to login the system says invalid passwd but when u see the user in the nis master the user exists so what will be the problem and how to fix it

1 Answers   IBM,


What is jumpstart?

2 Answers  


What is RPC?

3 Answers  


what r diff types of back ups?

4 Answers   Locuz,


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)