Commit baa23788 authored by Benjamin Graillot's avatar Benjamin Graillot Committed by root

OwnCloud has group user

parent 42e6a70f
......@@ -66,7 +66,7 @@ def reconfigure(api_client):
# Owncloud dans le home
if not(os.path.exists(home + '/OwnCloud')) and not(os.path.islink(home + '/Owncloud')):
os.makedirs(home + '/OwnCloud')
os.chown(home + '/OwnCloud',int(uid),grp.getgrnam('www-data').gr_gid)
os.chown(home + '/OwnCloud',int(uid),grp.getgrnam('user').gr_gid)
os.chmod(home + '/OwnCloud', 0o770)
# Simlink
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