bundles/nfs-client: don't touch permissions of mount directory by default
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2020-11-15 13:32:10 +01:00
parent 75e199ae0d
commit 8343838dc6
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -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: