Whats the default permission of files and directories in RHEL
This is a very important question you asked?
Red Hat Linux has the default permission of root user for a file is 644 (rw- r- – r- -) and for folder is 755 (rwx r-x r-x)
Other user’s permission for file is 664 and for folder is 775.
You can assign read only permission for file easily example is:
# chmode 644 [file name]