Fix RPM package installation
Summary: `chattr` must be after `chown`. Reviewers: buda Reviewed By: buda Differential Revision: https://phabricator.memgraph.io/D2752
This commit is contained in:
parent
24eb021840
commit
1d5952bb9c
@ -76,13 +76,16 @@ for i in /usr/share/memgraph/examples/*; do
|
||||
if [ ! -d $i/telemetry ]; then
|
||||
mkdir $i/telemetry || exit 1
|
||||
fi
|
||||
# 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
|
||||
|
||||
# Make snapshots directory immutable (optional)
|
||||
for i in /usr/share/memgraph/examples/*; do
|
||||
chattr +i -R $i/snapshots || true
|
||||
done
|
||||
|
||||
# Generate SSL certificates
|
||||
if [ ! -d /etc/memgraph/ssl ]; then
|
||||
mkdir /etc/memgraph/ssl || exit 1
|
||||
|
@ -76,13 +76,16 @@ for i in /usr/share/memgraph/examples/*; do
|
||||
if [ ! -d $i/telemetry ]; then
|
||||
mkdir $i/telemetry || exit 1
|
||||
fi
|
||||
# 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
|
||||
|
||||
# Make snapshots directory immutable (optional)
|
||||
for i in /usr/share/memgraph/examples/*; do
|
||||
chattr +i -R $i/snapshots || true
|
||||
done
|
||||
|
||||
# Generate SSL certificates
|
||||
if [ ! -d /etc/memgraph/ssl ]; then
|
||||
mkdir /etc/memgraph/ssl || exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user