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 |
How can u configure DNS & configuration files
1 Answers IBM, Ness Technologies, Symantec, YP Soft,
in RAID 5 and RAID 0+1 which u will preffer (Veritas)
wht is the difference between mkfs & newfs.... is there any difference..b/w both of them.?
How do you create a solaris package?
What is RPC?
how to add patched to the kernel
what is use of boot -a
hi can u tell me how i can install sunsolais in my windows 7 OS? & WE CAN RUN SOLARIS & WINDOES7 IN SINGLE OS.? PLZ HELP
What is RPC? Why do I need it?
What is /etc/system for?
in this what is the configuration of .profile file and the other files
how to use Multipathing in Solaris