build: Umask fixes for 2.7 build scripts (#21366)
* Fix permissions during build of bbb-libreoffice-docker The scripts must be executable by anyone. They are owned by root and executed by user bigbluebutton. * Fix permissions during build of bbb-html5 The files must be readable by mongodb. There are no secrets in the file, so it is safe to be readable by anyone. * Fix permissions during build of bbb-record-core Files must be readable by user bigbluebutton. * Fix more umask issues Recording scripts were not executable in the builds --------- Co-authored-by: Daniel Schreiber <daniel.schreiber@hrz.tu-chemnitz.de>
This commit is contained in:
parent
0027239c7d
commit
78a8ccdcb9
@ -92,6 +92,7 @@ cp mongod_start_pre.sh staging/usr/share/meteor/bundle
|
||||
chmod +rx staging/usr/share/meteor/bundle/mongod_start_pre.sh
|
||||
|
||||
cp mongo-ramdisk.conf staging/usr/share/meteor/bundle
|
||||
chmod 644 staging/usr/share/meteor/bundle/mongo-ramdisk.conf
|
||||
|
||||
mkdir -p staging/usr/lib/systemd/system
|
||||
cp bbb-html5.service staging/usr/lib/systemd/system
|
||||
|
@ -24,9 +24,9 @@ cp assets/etherpad-export.sh staging/usr/share/bbb-libreoffice-conversion/etherp
|
||||
cp assets/convert-local.sh staging/usr/share/bbb-libreoffice-conversion/convert-local.sh
|
||||
cp assets/convert-remote.sh staging/usr/share/bbb-libreoffice-conversion/convert-remote.sh
|
||||
|
||||
chmod +x staging/usr/share/bbb-libreoffice-conversion/convert-local.sh
|
||||
chmod +x staging/usr/share/bbb-libreoffice-conversion/convert-remote.sh
|
||||
chmod +x staging/usr/share/bbb-libreoffice-conversion/etherpad-export.sh
|
||||
chmod 755 staging/usr/share/bbb-libreoffice-conversion/convert-local.sh
|
||||
chmod 755 staging/usr/share/bbb-libreoffice-conversion/convert-remote.sh
|
||||
chmod 755 staging/usr/share/bbb-libreoffice-conversion/etherpad-export.sh
|
||||
|
||||
|
||||
cp -r docker staging/usr/share/bbb-libreoffice
|
||||
|
@ -23,9 +23,12 @@ done
|
||||
|
||||
mkdir -p staging/usr/local/bigbluebutton/core
|
||||
cp -r scripts staging/usr/local/bigbluebutton/core
|
||||
chmod a+rx staging/usr/local/bigbluebutton/core/scripts/process/*.rb
|
||||
chmod a+rx staging/usr/local/bigbluebutton/core/scripts/publish/*.rb
|
||||
|
||||
mkdir -p staging/var/bigbluebutton
|
||||
cp -r playback staging/var/bigbluebutton
|
||||
chmod -R a+rX staging/var/bigbluebutton
|
||||
|
||||
mkdir -p staging/usr/share/bigbluebutton/nginx
|
||||
mv staging/usr/local/bigbluebutton/core/scripts/presentation.nginx staging/usr/share/bigbluebutton/nginx
|
||||
|
@ -23,7 +23,10 @@ done
|
||||
|
||||
mkdir -p staging/usr/local/bigbluebutton/core
|
||||
cp -r scripts staging/usr/local/bigbluebutton/core
|
||||
chmod a+rx staging/usr/local/bigbluebutton/core/scripts/process/*.rb
|
||||
chmod a+rx staging/usr/local/bigbluebutton/core/scripts/publish/*.rb
|
||||
cp -r playback staging/usr/local/bigbluebutton/core
|
||||
chmod -R a+rX staging/usr/local/bigbluebutton/core/playback/
|
||||
|
||||
mkdir -p staging/usr/share/bigbluebutton/nginx
|
||||
mv staging/usr/local/bigbluebutton/core/scripts/playback-video.nginx staging/usr/share/bigbluebutton/nginx
|
||||
|
@ -40,6 +40,7 @@ pushd staging/usr/local/bigbluebutton/core
|
||||
popd
|
||||
|
||||
cp Rakefile staging/usr/local/bigbluebutton/core
|
||||
chmod 644 staging/usr/local/bigbluebutton/core/Rakefile
|
||||
cp bbb-record-core.logrotate staging/etc/logrotate.d
|
||||
|
||||
SYSTEMDSYSTEMUNITDIR=$(pkg-config --variable systemdsystemunitdir systemd)
|
||||
|
Loading…
Reference in New Issue
Block a user