Tuesday, August 16, 2016

Directory permission in Linux

The permission on directory behaves differently than the normal files in Linux. below are meaning of permission bit on directory.
  1. Write bit (w): allows the affected user to create, rename, or delete files within the directory, and modify the directory's attributes.
  2. Read bit (r): allows the affected user to list the files within the directory.
  3. Execute bit (x): allows the affected user to enter the directory, and access files and directories inside.

No comments:

Post a Comment