Created
May 19, 2015 07:18
-
-
Save alexanderjackson/a6b23cda0badf038db96 to your computer and use it in GitHub Desktop.
fix-seafile-owner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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