[adherents.py] And again...

This commit is contained in:
Raphaël-David Lasseri 2014-09-16 20:01:09 +02:00
parent 042f373149
commit 19177b46f2

View file

@ -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'):
if not os.path.exists(home + '/Owncloud'):
os.mkdir(home + '/Owncloud')
os.chown(home + '/Owncloud', int(uid), "www-data")
os.chmod(home + '/Owncloud',770)
os.chmod(home + '/Owncloud',770)
except:
print ERREUR
if self.debug: