%PDF- %PDF-
Direktori : /lib/python2.7/site-packages/salt/states/ |
Current File : //lib/python2.7/site-packages/salt/states/linux_acl.pyc |
� ���^c @@ s� d Z d d l m Z m Z m Z d d l Z d d l Z d d l m Z d d l m Z d d l Z e j e � Z d Z d � Z d d e e d � Z d d e d � Z d d e e d � Z d e d � Z d S( u� Linux File Access Control Lists The Linux ACL state module requires the `getfacl` and `setfacl` binaries. Ensure a Linux ACL is present .. code-block:: yaml root: acl.present: - name: /root - acl_type: user - acl_name: damian - perms: rwx Ensure a Linux ACL does not exist .. code-block:: yaml root: acl.absent: - name: /root - acl_type: user - acl_name: damian - perms: rwx Ensure a Linux ACL list is present .. code-block:: yaml root: acl.list_present: - name: /root - acl_type: user - acl_name: - damian - homer - perms: rwx Ensure a Linux ACL list does not exist .. code-block:: yaml root: acl.list_absent: - name: /root - acl_type: user - acl_name: - damian - homer - perms: rwx i ( t absolute_importt print_functiont unicode_literalsN( t six( t CommandExecutionErroru aclc C@ s8 t j j j d � r. t j j j d � r. t St d f S( u( Ensure getfacl & setfacl exist u getfaclu setfacluW The linux_acl state cannot be loaded: the getfacl or setfacl binary is not in the path.( t saltt utilst patht whicht __virtualname__t False( ( ( s9 /usr/lib/python2.7/site-packages/salt/states/linux_acl.pyt __virtual__G s *u c C@ s' i | d 6t d 6i d 6d d 6} i d d 6d d 6d d 6d d 6} i d d 6d d 6d d 6d d 6} t j j | � s� d j | � | d <t | d <| St d | d | �} | j d'