Skip to content

Instantly share code, notes, and snippets.

@alexanderjackson
Created May 19, 2015 07:18
Show Gist options
  • Save alexanderjackson/a6b23cda0badf038db96 to your computer and use it in GitHub Desktop.
Save alexanderjackson/a6b23cda0badf038db96 to your computer and use it in GitHub Desktop.
fix-seafile-owner
SEAFILE_DIR=/var/lib/seafile/
SEAFILE_USER=$(stat -c %U ${SEAFILE_DIR})
SEAFILE_GROUP=$(stat -c %G ${SEAFILE_DIR})
chown -R ${SEAFILE_USER}.${SEAFILE_GROUP} ${SEAFILE_DIR}
service seafile-server start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment