Skip to content

Commit

Permalink
fix setting file permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
benderl committed Dec 5, 2024
1 parent dc821d7 commit bc17c9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runs/atreboot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,8 @@ chmod 666 "$LOGFILE"
fi

# set restore dir permissions to allow file upload for apache
sudo chgrp www-data "${OPENWBBASEDIR}/data/restore" "${OPENWBBASEDIR}/data/restore/"* "${OPENWBBASEDIR}/data/data_migration" "${OPENWBBASEDIR}/data/data_migration/"*
sudo chmod g+w "${OPENWBBASEDIR}/data/restore" "${OPENWBBASEDIR}/data/restore/"* "${OPENWBBASEDIR}/data/data_migration" "${OPENWBBASEDIR}/data/data_migration/"*
sudo chgrp -R www-data "${OPENWBBASEDIR}/data/restore/." "${OPENWBBASEDIR}/data/data_migration/."
sudo chmod -R g+w "${OPENWBBASEDIR}/data/restore/." "${OPENWBBASEDIR}/data/data_migration/."

# cleanup some folders
folder="${OPENWBBASEDIR}/data/data_migration/var"
Expand Down

0 comments on commit bc17c9b

Please sign in to comment.