Diagnose And Correct File Permission Problems

General Information

Troubleshooting file permissions issues.

Items to keep in mind when troubleshooting file permissions issues.

  • Anytime an ACL is updated, the mask changes (max level of permissions changes).
  • Group ACL entries do not change when normal group permissions change.
  • cp command does not preserve ACL rules, but mv does.
  • Default ACL permissions are for inheritance.

Apply execute permissions to directories and sub dirs only

chmod -R g+rwX /mydir
  • The capital “X” applies only to directories
  • Execute permissions are required to cd into a directory

  • linux_wiki/diagnose_and_correct_file_permission_problems.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)