Commit 47064c6f authored by Ambady Anand S's avatar Ambady Anand S

Fix permission of config directory

parent b7b7c47f
......@@ -48,6 +48,9 @@ case "$1" in
chmod 2750 /run/diaspora
ln -fs /var/cache/diaspora /run/diaspora/cache
runuser -u ${diaspora_user} -- sh -c 'mkdir -p /run/diaspora/pids'
# Make config directory writable
chown ${diaspora_user}: ${diaspora_home}/config
# Create writable directories and files
su ${diaspora_user} -s /bin/sh -c 'mkdir -p ~/.bundle ~/public ~/app-assets'
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