build(fix): File permissions in packages should not depend on umask of build system (#21362)
If the build system for packages has a umask of `0077`, cloned repositories will have no permissions for group and other. If build scripts just copy files, permissions will persist. This commit fixes permissions for some files which otherwise prevents startup `bbb-graphql-server.service` and `bbb-graphql-middleware.service`. Co-authored-by: Daniel Schreiber <daniel.schreiber@hrz.tu-chemnitz.de>
This commit is contained in:
parent
00bb65f8fa
commit
7a31135ed0
@ -33,6 +33,7 @@ cp bbb-graphql-client-settings-cache.conf staging/etc/nginx/conf.d
|
||||
|
||||
# Create config file
|
||||
cp config/config.yml staging/usr/share/bbb-graphql-middleware/config.yml
|
||||
chmod a+r staging/usr/share/bbb-graphql-middleware/config.yml
|
||||
|
||||
cp bbb-graphql-middleware.service staging/lib/systemd/system/bbb-graphql-middleware.service
|
||||
|
||||
|
@ -30,6 +30,7 @@ cp -r hasura-graphql staging/usr/local/bin/hasura-graphql-engine
|
||||
|
||||
cp -r hasura-config.env staging/etc/default/bbb-graphql-server
|
||||
cp -r bbb_schema.sql metadata config.yaml staging/usr/share/bbb-graphql-server
|
||||
chmod -R a+rX staging/usr/share/bbb-graphql-server
|
||||
|
||||
#Copy BBB configs for Postgres
|
||||
mkdir -p staging/etc/postgresql/16/main/conf.d
|
||||
|
Loading…
Reference in New Issue
Block a user