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 diff b/w MUTEX and semaphore?
What is the Diffrent between Redhat linux And suse linux
if root user forget the password how to change it?
what are the backup utilites on red hat linux 4.0?
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?
How to create secured appeche web sever ?
what is cups and how to configure?
what is nis server
diff b/w spinlock, seamaphores and mutex and where to use it.
What are system calls used for process management in linux?
what happens when we do insmod & rmmod in Linux Device Drivers ?
why the kernel panic error was appering?