bundles/nfs-client: don't touch permissions of mount directory by default
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
75e199ae0d
commit
8343838dc6
1 changed files with 5 additions and 1 deletions
|
@ -4,7 +4,11 @@ for mount, data in node.metadata.get('nfs-client',{}).get('mounts',{}).items():
|
||||||
|
|
||||||
unitname = data.get('mountpoint','')[1:].replace('-','\\x2d').replace('/','-')
|
unitname = data.get('mountpoint','')[1:].replace('-','\\x2d').replace('/','-')
|
||||||
|
|
||||||
directories[data['mountpoint']] = {}
|
directories[data['mountpoint']] = {
|
||||||
|
'owner': None,
|
||||||
|
'group': None,
|
||||||
|
'mode': None,
|
||||||
|
}
|
||||||
|
|
||||||
for parameter in ['mode', 'owner', 'group']:
|
for parameter in ['mode', 'owner', 'group']:
|
||||||
if parameter in data:
|
if parameter in data:
|
||||||
|
|
Loading…
Reference in a new issue