Linux Basics for Big Data

76 / 87
Permissions of Processes

Usually, when a program runs with the same permissions as the user who is running it. The program can read or modify only the files which user is allowed to.

Question-

What are the permissions of /etc/shadow file?

Hint-

ls -l /etc/shadow
  • drwxrwxr-x
  • ----------
  • -rw-rw-r--
  • The file does not exist
  • We are not allow to see the permissionf of this file