Article:
  FreeBSD Access Control Lists
Subject:   explanation of mask and default acl example
Date:   2003-11-13 11:46:38
From:   clj
The article would be more useful (complete) with an explanation of what the mask field is/does, and a demonstration of how to show a directory's default acl after you've set it.
Main Topics Newest First

Showing messages 1 through 1 of 1.

  • explanation of mask and default acl example
    2003-12-24 10:32:09  dh@askdh.com [View]

    The mask field limits permissions assigned by acl. For example, if a file's unix mode is -rw-------, the mask is set to r-- (set with m::r), and another user has rw- set by ACL, the effective permissions for the other user will be r-- because of the r-- mask. The owner will retain the rw- permissions as the mask doesn't affect the normal unix permissions.

    View a directory's default ACL with "getfacl -d dirname".

    Daniel