Question { 4590 }
wht is the umask value to crate directory with only rw
options to root..?
Answer
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
#