def rm_permissions(obj_name, principal, ace_type='all', obj_type='file'):
 dacl = Dacl(obj_name, obj_type)
 dacl.rm_ace(principal, ace_type)
 dacl.save(obj_name)
 return True

def rm_permissions ( obj_name , principal , ace_type = 'all' , obj_type = 'file' ) : dacl = Dacl ( obj_name , obj_type ) dacl . rm_ace ( principal , ace_type ) dacl . save ( obj_name ) return True
remove a users ace from an object .