This commit is contained in:
Pierre-Elliott Bécue 2015-10-11 14:45:58 +02:00
parent 53bddc87b2
commit abaea5ee8d

View file

@ -191,7 +191,7 @@ class home:
if not os.path.exists(home + '/OwnCloud'): if not os.path.exists(home + '/OwnCloud'):
os.mkdir(home + '/OwnCloud') os.mkdir(home + '/OwnCloud')
os.chown(home + '/OwnCloud', int(uid), grp.getgrnam('www-data').gr_gid) os.chown(home + '/OwnCloud', int(uid), grp.getgrnam('www-data').gr_gid)
os.chmod(home + '/OwnCloud',0770) os.chmod(home + '/OwnCloud', 0770)
except: except:
print ERREUR print ERREUR
if self.debug: if self.debug: