wht is the umask value to crate directory with only rw
options to root..?
Answers were Sorted based on User's Feedback
Answer / rams
umask 177
drw------- 2 ramas sysadmin 512 Mar 6 15:21 ttt
| Is This Answer Correct ? | 9 Yes | 2 No |
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 |
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 |
If My Server is Suddenly Down what are the reasons? Tell me Exact time of Ping?
what is df -kh i/o error ?How to Troubleshoot ?
What is an alternative to the ?top? command on Solaris?
please give detail procedure how do replace failed disk under control of SVM and VxVm
what r the daily responsibilities of u as a system administrator
10 Answers ADP, IBM, Infosys, Wipro,
how will you start VCS service? What are the configuration files in VCS?
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
what is RBac and how to create a role?
I have an interview in Qatar Petroleum for Solaris System Engineer position. Please provide all the technical questions about Solaris OS.
how u will recover the disk group
if storage contain 500 disks in this one disk is failed,we placed new disk in failed disk place,how can we find out exact path of the newly installed disk when we execute format command?
what is the use of Jumpstart in Solaris and how can u configure it