Add winacl action to allow restoring ACL from another path

Description

PR: https://github.com/freenas/freenas/pull/4866

Experimental feature to allow restoring ACLs from another path
(for example a snapshot). If verbose flag is set then newly
updated ACLs are indicated by a "+", the reason enclosed by brackets []
and the source and destination are printed to stdout.

If a file exists in destination (live filesystem) but not the source
(snapshot), then a line is printed to stdout prefixed by an exclamation
point "!".

Setting the TRIAL flag will print same output, but not actually change
on-disk permissions.

example:
winacl -a restore -rv -s /mnt/tank/smb/.zfs/snapshot/t4 -p /mnt/tank/smb

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Bug Clerk 
June 9, 2020 at 3:23 PM

Bug Clerk 
June 2, 2020 at 12:49 PM

Complete

Details

Assignee

Reporter

Fix versions

Priority

More fields

Katalon Platform

Created May 29, 2020 at 6:34 PM
Updated February 14, 2024 at 7:21 PM
Resolved June 9, 2020 at 3:23 PM