linux file defaults permition
Answers were Sorted based on User's Feedback
umask value = 022
Without a umask in effect,any file created will have 666
permissions.
666
022
---------
644
---------
A umask of 022 will result in files created with 666 permission.
Is This Answer Correct ? | 15 Yes | 0 No |
Answer / sandeep
normal user
permissions.
666 Default permission
022 Umask value
---------
644 Actual permission
Root user
666 Default permission
002 U mask Value
--------
664 Actual value
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / nageshp
A umask of 022 will result in files created with 644 permission.
Is This Answer Correct ? | 5 Yes | 0 No |
What is the use of proc structure?
what is iptabe on redhat linux?
what are the backup utilites on red hat linux 4.0?
what is samba, what is configuration file, how it will work?
how to configure ftp server on redhat linux?
what is sudo on linux?
1.Diff between Active and passive FTP? 2.What is anacron? 3.Diff between yum update and yum install while doing for kernel? 4.root_squash and no_root_squash does what? 5.What are the commands will you execute to find a new hardware? 6.How will you find out a lun allocated from SAN? 7.What is the main diff in CaT5 and CAT6 cable, except the 1/100 and 1/1000? 8.What is stale NFS and How will you fix it? 9.What is kernel panic error? 10.How will you recover password and shadow file, in case both got deleted. Explain the steps? 11.Explain boot process 12.What is network bonding. Explain the steps? 13.What are the exit codes returned by FSCK? 14.What is LDOM? 15.Diff between block and character device?
if root user forget the password how to change it?
What do fork() internally call?
what is bus trap.
What are system calls used for process management in linux?
what is the diff b/w MUTEX and semaphore?