Skip to content

Commit

Permalink
Make default recordings dir writable also for webserver
Browse files Browse the repository at this point in the history
Issue bluecherrydvr/bluecherry-apps#620
arises because the dir exists, is owned by bluecherry:bluecherry, but is
by default writable only by owning user, but not the owning group.

Fix this here in docker setup code.
bluecherry-apps code will be amended to handle this, too.
  • Loading branch information
andrey-utkin committed Nov 24, 2023
1 parent 39d27df commit 148c009
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ echo "> Writing /etc/bluecherry.conf"

echo "> chown bluecherry:bluecherry /var/lib/bluecherry/recordings"
chown bluecherry:bluecherry /var/lib/bluecherry/recordings
chmod ug+rwx /var/lib/bluecherry/recordings


# The bluecherry container's Dockerfile sets rsyslog to route the bluecherry
Expand Down

0 comments on commit 148c009

Please sign in to comment.