def delfacl(acl_type, acl_name='', *args, **kwargs):
 recursive = kwargs.pop('recursive', False)
 _raise_on_no_files(*args)
 cmd = 'setfacl'
 if recursive:
  cmd += ' -R'
 cmd += ' -x'
 cmd = '{0} {1}:{2}'.format(cmd, _acl_prefix(acl_type), acl_name)
 for dentry in args:
  cmd += ' "{0}"'.format(dentry)
 __salt__['cmd.run'](cmd, python_shell=False)
 return True

def delfacl ( acl_type , acl_name = '' , * args , ** kwargs ) : recursive = kwargs . pop ( 'recursive' , False ) _raise_on_no_files ( * args ) cmd = 'setfacl' if recursive : cmd += ' -R' cmd += ' -x' cmd = '{0} {1}:{2}' . format ( cmd , _acl_prefix ( acl_type ) , acl_name ) for dentry in args : cmd += ' "{0}"' . format ( dentry ) __salt__ [ 'cmd.run' ] ( cmd , python_shell = False ) return True
remove specific facl from the specified file(s) cli examples: .