wht is the umask value to crate directory with only rw
options to root..?
Answer Posted / 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 |
Post New Answer View All Answers
How to create a gateway?
In a two node cluster i have typed #hastart command in one node.The cluster is starting in second node also,what is going in background?
when i am starting solaris10 with 'fail safe mode' on intel machine it is asking "#starting shell".what is it and how to solve this problem?
Local zone in shutting down state.how to bring state of zone to installed?
What is the zone in DNS?
how can u give space garentee for volume in netapp storage
what is mean by netfmd in sun cluster what is the use of netfmd and what is the relation between ccd and netfmd?
Hi, I need information regarding LDOMS.Like What is LDOMS ,Creation of LDOMS, errors on LDOMS, troubleshooting LDOMS...etc.... pls post the info. Regards, Naresh
What is cachefs?
What is the use of Sam utility in solaris
How do u know that,what patch can be applicable on the system?
hi to all,, i need few real time issues please provide me,, if you have any,,,