Skip to content

Commit ac6367a

Browse files
jcormierCopilot
andauthored
functions: theme: Fix rsync chmod
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent bc1f273 commit ac6367a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

assets/runtime/functions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1185,7 +1185,7 @@ install_plugins() {
11851185
install_themes() {
11861186
if [[ -d ${REDMINE_THEMES_DIR} && -n "$(ls -A ${REDMINE_THEMES_DIR})" ]]; then
11871187
echo "Installing themes..."
1188-
rsync -avq --chown=${REDMINE_USER}:${REDMINE_USER} --chmod=644 ${REDMINE_THEMES_DIR}/ ${REDMINE_INSTALL_DIR}/themes/
1188+
rsync -avq --chown=${REDMINE_USER}:${REDMINE_USER} --chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r ${REDMINE_THEMES_DIR}/ ${REDMINE_INSTALL_DIR}/themes/
11891189
# if themes are installed, we need to precompile assets
11901190
echo "Precompiling assets. Please be patient, this could take a while..."
11911191
execute_raketask assets:precompile

0 commit comments

Comments
 (0)