Commit 5945308d authored by Raphael-david Lasseri's avatar Raphael-david Lasseri

[adherents.py] Last one on adopte la convention OwnCloud partout

parent 19177b46
......@@ -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:
......
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