Commit a30c778a authored by grisel-davy's avatar grisel-davy

enleve les lower pour la création des homes

parent 1d7bd1da
......@@ -28,7 +28,7 @@ def reconfigure(api_client):
error = False
for user in users:
home = '/home-adh/{}/{}'.format(user['pseudo'][0].lower(),user['pseudo'].lower())
home = '/home-adh/{}/{}'.format(user['pseudo'][0],user['pseudo'])
uid = user['uid']
gid = user['gid']
......@@ -51,7 +51,7 @@ def reconfigure(api_client):
os.chmod(home + '/OwnCloud', 0o770)
# Simlink
link = '/home-adh/{}'.format(user['pseudo'].lower())
link = '/home-adh/{}'.format(user['pseudo'])
if not os.path.islink(link):
os.symlink(home, link)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment