diff --git a/gestion/gen_confs/adherents.py b/gestion/gen_confs/adherents.py index 96b8856f..512f88b0 100644 --- a/gestion/gen_confs/adherents.py +++ b/gestion/gen_confs/adherents.py @@ -166,10 +166,10 @@ class home: os.chown(home + '/.forward', int(uid), config.gid) os.chmod(home + '/.forward', 0604) ### Owncloud dans le home - if not os.path.exists(home + '/Owncloud'): - os.mkdir(home + '/Owncloud') - os.chown(home + '/Owncloud', int(uid), "www-data") - os.chmod(home + '/Owncloud',770) + if not os.path.exists(home + '/OwnCloud'): + os.mkdir(home + '/OwnCloud') + os.chown(home + '/OwnCloud', int(uid), "www-data") + os.chmod(home + '/OwnCloud',770) except: print ERREUR if self.debug: