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

def wipefacls ( * args , ** kwargs ) : recursive = kwargs . pop ( 'recursive' , False ) _raise_on_no_files ( * args ) cmd = 'setfacl -b' if recursive : cmd += ' -R' for dentry in args : cmd += ' "{0}"' . format ( dentry ) __salt__ [ 'cmd.run' ] ( cmd , python_shell = False ) return True
remove all facls from the specified file(s) cli examples: .