Class | Chef::FileAccessControl |
In: |
lib/chef/file_access_control.rb
|
Parent: | Object |
FileAccessControl objects set the owner, group and mode of file to the values specified by a value object, usually a Chef::Resource.
UINT | = | (1 << 32) |
UID_MAX | = | (1 << 32) - 10 |
file | [R] | |
resource | [R] |
FileAccessControl objects set the owner, group and mode of file to the values specified by resource. file is completely independent of any file or path attribute on resource, so it is possible to set access control settings on a tempfile (for example).
resource: probably a Chef::Resource::File object (or subclass), but
this is not required. Must respond to +owner+, +group+, and +mode+
file: The file whose access control settings you wish to modify,
given as a String.