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 are the different ways the Linux can swich from User Space to Kernel Space & vice-versa ?
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?
linux system its not booting up its showing groub error what i need to do?
how to create a ftp user on redhat linux 4.0?
What is atomic function / atomic variable ?
what happens when we do insmod & rmmod in Linux Device Drivers ?
what is stored at /lib/modules ?
What will happen when we invoke a system call and say with an example of invoking a system call ?read? for a device?
how to configure ftp server on redhat linux?
How to create secured appeche web sever ?
what is stored in /proc ? what is significance of /proc in linux ?
What does exec family return?