Whats the default permission of files and directories in RHEL

Asked By 30 points N/A Posted on -
qa-featured

How can I give the permission to file, read only?

Please help me.

SHARE
Answered By 0 points N/A #134393

Whats the default permission of files and directories in RHEL

qa-featured

Hi Winchel,

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]

Britnu Salu

Login/Register to Answer

Related Questions