Bug 16061 - Allow "samba-tool ntacl sysvolreset" to reset a single file or directory
Summary: Allow "samba-tool ntacl sysvolreset" to reset a single file or directory
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Python (show other bugs)
Version: 4.24.2
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---
Assignee: Douglas Bagnall
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-04-21 14:42 UTC by keesvanvloten
Modified: 2026-04-21 14:42 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description keesvanvloten 2026-04-21 14:42:44 UTC
When working on the file tree of a single GPO it is quite often required to run "samba-tool ntacl sysvolreset" to fix the permissions of the top-level directory of that GPO. 
Currently this command always checks and fixes all files on the sysvol share, that can take a long time and it is a waste of time when I just want the permissions of one specific directory to be fixed. 
It would save a lot of time if there was an option to do this, e.g. "samba-tool ntacl sysvolreset --path Policies/{<my-gpo-uuid>}". Is it feasible add this or something similar to the sysvolreset command?