1# This file is part of CFEngine 3 - written and maintained by Northern.tech AS. 2 3# This program is free software; you can redistribute it and/or modify it 4# under the terms of the GNU General Public License as published by the 5# Free Software Foundation; version 3. 6 7# This program is distributed in the hope that it will be useful, 8# but WITHOUT ANY WARRANTY; without even the implied warranty of 9# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10# GNU General Public License for more details. 11 12# You should have received a copy of the GNU General Public License 13# along with this program; if not, write to the Free Software 14# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA 15 16# To the extent this program is licensed as part of the Enterprise 17# versions of Cfengine, the applicable Commercial Open Source License 18# (COSL) may apply to this file if you as a licensee so wish it. See 19# included file COSL.txt. 20 21body common control 22{ 23 bundlesequence => { "acls" }; 24} 25 26######################################### 27 28bundle agent acls 29 30{ 31 files: 32 33 windows:: 34 35 "c:\Secret" 36 acl => win, 37 depth_search => include_base, 38 comment => "Secure the secret directory from unauthorized access"; 39} 40 41######################################### 42 43body acl win 44 45{ 46 acl_method => "overwrite"; 47 aces => { "user:Administrator:rwx" }; 48} 49 50######################################### 51 52body depth_search include_base 53 54{ 55 include_basedir => "true"; 56} 57