1.

Explain different file permissions or access modes in Linux?

Answer»

All the files and directories in Linux  have below 3 permissions, represented by a three digit octal VALUE .-

READ - It provides the ABILITY to read the contents of a file (represented by 'r' in the first position "r--")

WRITE - It Provides the ability to edit or delete the CONTENT of a file (represented by 'r' in the second position "-w-")

Execute - It Provides the ability to execute the file (represented by 'x' in the third position "--x")

The octal value is calculated as the sum of the permissions:

“read” is 4

“write” is 2

“execute” is 1



Discussion

No Comment Found