Fix ownership of examples in packages
Reviewers: teon.banek, ipaljak Reviewed By: teon.banek Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D2721
This commit is contained in:
parent
f48ad62647
commit
f1327c52ef
release
@ -34,11 +34,13 @@ case "$1" in
|
||||
if [ ! -d $i/telemetry ]; then
|
||||
mkdir $i/telemetry || exit 1
|
||||
fi
|
||||
chown -R memgraph:memgraph $i/telemetry || exit 1
|
||||
# Make snapshots directory immutable (optional)
|
||||
chattr +i -R $i/snapshots || true
|
||||
done
|
||||
|
||||
# Change ownership of all examples
|
||||
chown -R memgraph:memgraph /usr/share/memgraph/examples || exit 1
|
||||
|
||||
# Generate SSL certificates
|
||||
if [ ! -d /etc/memgraph/ssl ]; then
|
||||
mkdir /etc/memgraph/ssl || exit 1
|
||||
|
@ -76,11 +76,13 @@ for i in /usr/share/memgraph/examples/*; do
|
||||
if [ ! -d $i/telemetry ]; then
|
||||
mkdir $i/telemetry || exit 1
|
||||
fi
|
||||
chown -R memgraph:memgraph $i/telemetry || exit 1
|
||||
# Make snapshots directory immutable (optional)
|
||||
chattr +i -R $i/snapshots || true
|
||||
done
|
||||
|
||||
# Change ownership of all examples
|
||||
chown -R memgraph:memgraph /usr/share/memgraph/examples || exit 1
|
||||
|
||||
# Generate SSL certificates
|
||||
if [ ! -d /etc/memgraph/ssl ]; then
|
||||
mkdir /etc/memgraph/ssl || exit 1
|
||||
|
@ -76,11 +76,13 @@ for i in /usr/share/memgraph/examples/*; do
|
||||
if [ ! -d $i/telemetry ]; then
|
||||
mkdir $i/telemetry || exit 1
|
||||
fi
|
||||
chown -R memgraph:memgraph $i/telemetry || exit 1
|
||||
# Make snapshots directory immutable (optional)
|
||||
chattr +i -R $i/snapshots || true
|
||||
done
|
||||
|
||||
# Change ownership of all examples
|
||||
chown -R memgraph:memgraph /usr/share/memgraph/examples || exit 1
|
||||
|
||||
# Generate SSL certificates
|
||||
if [ ! -d /etc/memgraph/ssl ]; then
|
||||
mkdir /etc/memgraph/ssl || exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user