Skip to content

Commit

Permalink
nc-datadir: make sure we have the correct permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Jun 18, 2018
1 parent 005ed80 commit 0d7ceb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions etc/ncp-config.d/nc-datadir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ configure()
}

cp --reflink=auto -raT "$SRCDIR" "$DATADIR_" || return 1
chown www-data:www-data "$DATADIR_"

# tmp upload dir
mkdir -p "$DATADIR_/tmp"
Expand Down

0 comments on commit 0d7ceb5

Please sign in to comment.