Bug 14458 - Reset share ACL by samba-tool ntacl (RFE for possibility to fix share ACL after accident)
Summary: Reset share ACL by samba-tool ntacl (RFE for possibility to fix share ACL aft...
Status: RESOLVED WORKSFORME
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Other (show other bugs)
Version: 4.11.6
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-08 07:24 UTC by Milan Kerslager
Modified: 2020-08-08 10:44 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 Milan Kerslager 2020-08-08 07:24:33 UTC
I accidentally set ACL on share the way I wasn't able to fix it even I was Administrator (ie root) as had no access to the share (missing ACL). The only way was to remove /var/lib/samba/share_info.tdb and set all ALCs on all shares again (I try to remove/add the same share with no luck).

I'll be glad to have "samba-tool ntacl" to reset permission to the default I see when new share is created.
Comment 2 Milan Kerslager 2020-08-08 10:44:43 UTC
I see... Thank you :-)