Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anodos325 committed Oct 27, 2024
1 parent 39e39b4 commit 5bb7285
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/middlewared/middlewared/plugins/filesystem_/acl.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ def setacl_nfs4(self, job, current_acl, data):
job.set_progress(100, 'Finished setting NFSv4 ACL.')
return

acltool(data['path'], 'clone' if not do_strip else 'strip', data['uid'], data['gid'], options)
acltool(data['path'], 'clone' if not do_strip else 'strip', data['uid'], data['gid'], data['options'])

job.set_progress(100, 'Finished setting NFSv4 ACL.')

Expand Down Expand Up @@ -950,6 +950,4 @@ def get_inherited_acl(self, data):
verrors.check()

current_acl = self.getacl(data['path'], False)
acltype = FS_ACL_Type(current_acl['acltype'])

return calculate_inherited_acl(current_acl, data['options']['directory'])

0 comments on commit 5bb7285

Please sign in to comment.