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 the significance of 51% state database replicas in SVM?

2 Answers   Cap Gemini,


when new Luns are added to server ,how to brought them under veritas control?

1 Answers   Thomson Reuters,


How to quickly mirror a volume, if the volume is empty?

4 Answers  


How many default no of users r there?

1 Answers  


explain Jumpstat configuration..?

2 Answers   Accenture,


How to know number of ports of HBA card ???????

1 Answers   Accel Frontline, Thomson Reuters,


How to detect a newly added device if you are not able to detect the device using devfsadm?

1 Answers  


wht is the purpose of autofs and automountd commands..?

2 Answers  


How to use disk quotas in solaris (command mode) ? what is the procedure for checking disk space of the particular user in command mode?

7 Answers   Samsung,


If a user logs in to UNIX, it displays the desktop and then immediately logs you back out, what could be wrong?

2 Answers  


what are the software groups in solaries?please explain them?

1 Answers  


How can u configure two DHCP and Two DNS servers r there and u have 100's of users then 1st system takes which DHCP server and which DNS sever

1 Answers   IBM,


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)