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

what is incident management and change management and prob management in ticketing tool ,can u explain briefly?

6 Answers   BlueStacks, HCL, IBM, TCS,


what are the various layouts that are available in VxVM?

3 Answers   IBM,


what is port no for telnet?

12 Answers  


what r the packages for intel machine when u install

1 Answers   IBM,


what is sticky bit,setuid setgid and setfacl used for

2 Answers   IBM, IBN,






What is meant by jumpstart?

2 Answers   IBM,


How to grow a volume?

1 Answers  


how can u view installed packages

3 Answers   IBM,


What are the various clusters you have worked on?

1 Answers  


without keyboard detection is booting process continue or not?

3 Answers  


vxdisk -o alldgs list o/p shows some disk groups in braces… What does that signify?

3 Answers  


what is major number and what is minor number..?

3 Answers   Wipro,


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)