Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .deployer/scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,8 @@ set_group_writable_tree() {
return
fi

# chmod can only be performed by file owner (or root). During runtime some
# cache files may be owned by www-data, so normalize only deployer-owned
# entries and do not fail deployment if skipped files exist.
find "${path}" -type d -exec chmod 2775 {} + 2> /dev/null || true
find "${path}" -type f -exec chmod 664 {} + 2> /dev/null || true
find "${path}" -type d -exec chmod 2775 {} +
find "${path}" -type f -exec chmod 664 {} +
}

# ----
Expand Down