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 |
purpose of lost+found..?
What is the difference between Vxdmp and EMC powerpath?
how to check packets transmission statistcs b/w servers..?
benifits of SMF over LRC
How to merge solaris partition
If you try to send an e-mail to someone and the following message appear "Message Undeliverable", what could be wrong?
Hi All, Q. I have one log file that log file contains application message but the application message in log file not append any date value. so after 1 to 2 date that file is big size , I want to delete contents only that was appended before 4 days ago from that single file and rest of the file contents would be remains same.
I am not login to server with telnet and ssh then what to do?
user trying to login the system says invalid passwd but when u see the user in the nis master the user exists so what will be the problem and how to fix it
What is jumpstart?
What is RPC?
what r diff types of back ups?