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 |
1. Where the History file can be located? 2. How will you harden the server? 3. Diff between Raid 1 and Raid 5? 4. What is the largest disk size can be used in LVM? 5. How will you remove a PV from lvm without any data loss? 6. What is the diff between ext3 and ext2 File system? 7. How we can use resize2fs, what is the purpose? 8. What is the purpose of LVM? Why it is used? 9. If the FS is in read-only mode, so we cannot create any file. How will you fix it? 10. How to create swap partition after OS installation? 11. What is the diff between ssh and telnet? 12. How to find out the dependency required for a package?
what are different ways the context switch happens from user to kernel space or vice-versa ?
what are the different ways the Linux can swich from User Space to Kernel Space & vice-versa ?
What is atomic function / atomic variable ?
what kind of information the linux driver modules (.ko ) files has ?
What does exec family return?
I would like to know whether Simado and Setu products are they EPBX or not ?
how to create a ftp user on redhat linux 4.0?
what is mean by raid and what are all raids available even in software and hardware?
Explain process management system calls in linux?
why the kernel panic error was appering?
What is the use of proc structure?