Skip to content

Commit 1951831

Browse files
committed
planner: Add permissions config to a new share mount
Set a default permissions config section when creating a new smbshare. Signed-off-by: Sachin Prabhu <[email protected]>
1 parent 1ec281a commit 1951831

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/planner/configuration.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ func (pl *Planner) Update() (changed bool, err error) {
109109
Shares: []smbcc.Key{shareKey},
110110
Globals: []smbcc.Key{smbcc.Globals},
111111
InstanceName: pl.InstanceName(),
112+
Permissions: smbcc.NewPermissionsConfig(),
112113
}
113114
if pl.SecurityMode() == ADMode {
114115
realmKey := smbcc.Key(pl.Realm())

0 commit comments

Comments
 (0)