ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  FreeBSD Access Control Lists
Subject:   explanation of mask and default acl example
Date:   2003-12-24 10:32:09
From:   dh@askdh.com
Response to: explanation of mask and default acl example

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".