Skip to content

Commit

Permalink
deployment: Fix wrong recording directory on install media nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
cruizba committed Sep 21, 2021
1 parent 0565382 commit 88fdea5
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ new_media_node_installation() {

# Change recording folder with all permissions
printf "\n => Adding permission to 'recordings' folder..."
mkdir -p "${OPENVIDU_RECORDINGS_FOLDER}/recordings"
chmod 777 "${OPENVIDU_RECORDINGS_FOLDER}/recordings"
mkdir -p "${OPENVIDU_RECORDINGS_FOLDER}"
chmod 777 "${OPENVIDU_RECORDINGS_FOLDER}"

# Add execution permissions
printf "\n => Adding permission to 'copy_config_files.sh' script..."
Expand Down Expand Up @@ -297,8 +297,8 @@ upgrade_media_node() {

# Change recording folder with all permissions
printf "\n => Adding permission to 'recordings' folder..."
mkdir -p "${OPENVIDU_RECORDINGS_FOLDER}/recordings"
chmod 777 "${OPENVIDU_RECORDINGS_FOLDER}/recordings"
mkdir -p "${OPENVIDU_RECORDINGS_FOLDER}"
chmod 777 "${OPENVIDU_RECORDINGS_FOLDER}"

# Add execution permissions
printf "\n => Adding permission to 'copy_config_files.sh' script..."
Expand Down

0 comments on commit 88fdea5

Please sign in to comment.