fix permissions on /
This commit is contained in:
parent
46d32984cc
commit
20b1bb04b6
7
install
7
install
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# shellcheck disable=SC1091,SC1117,SC2016,SC2046,SC2086
|
# shellcheck disable=SC1090,SC1091,SC1117,SC2016,SC2046,SC2086
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015-2020 OpenMediaVault Plugin Developers
|
# Copyright (c) 2015-2020 OpenMediaVault Plugin Developers
|
||||||
# Copyright (c) 2017-2020 Armbian Developers
|
# Copyright (c) 2017-2020 Armbian Developers
|
||||||
@ -65,6 +65,11 @@ while getopts "fh" opt; do
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Fix permissions on / if wrong
|
||||||
|
echo "Current / permissions = $(stat -c %a /)"
|
||||||
|
chmod g-w,o-w /
|
||||||
|
echo "New / permissions = $(stat -c %a /)"
|
||||||
|
|
||||||
echo "Updating repos before installing..."
|
echo "Updating repos before installing..."
|
||||||
apt-get update
|
apt-get update
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user