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

how can u crete snapshot

1 Answers   HCL,


How can you set EEPROM settings from Solaris?

4 Answers   Aricent, HP,


what is zone configuration file?

2 Answers   IBM,


what r d boot options?

2 Answers   TCS,


What is JASS?

1 Answers   IBM,






How do you get system diagnostics information?

5 Answers  


Whats the boot process of VxVM?

1 Answers   Wipro,


Difference between Console and terminal

3 Answers  


benifits of SMF over LRC

1 Answers  


What is a layered volume? how to create it using vxmake?

1 Answers  


what is the diff between Sol9 and Sol10 Booting procedure

3 Answers   IBM,


What are the two settings you can change to make a system boot faster?

3 Answers  


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)