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 |
In remote support environment not able to ping one solaris server .What are the necessary steps you will do ?
What is the use of /etc/path-to-inst file?
How to brk the root pwd?
how to install solaris and windows on a single harddisk ie dual booting
difference b/w solais 8 and 9...?
kernel patch installation in solaris?
What is the difference between failing and failed disks?
3 Answers IBM, Sascon, Sun Microsystems,
software distribution in solaris
how to use Multipathing in Solaris
explain Jumpstat configuration..?
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?
what is SMF service? And what it does in Solaris 10