From ac96e8b6ece9ea75fc1b10f46d2e7dd14b926600 Mon Sep 17 00:00:00 2001 From: Sven R Date: Tue, 10 Mar 2020 17:14:18 +0100 Subject: [PATCH] bootstrap chmod --- usr/local/share/bastille/bootstrap.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr/local/share/bastille/bootstrap.sh b/usr/local/share/bastille/bootstrap.sh index c9fb8694..b7c7fc27 100644 --- a/usr/local/share/bastille/bootstrap.sh +++ b/usr/local/share/bastille/bootstrap.sh @@ -181,6 +181,7 @@ bootstrap_directories() { if [ "${bastille_zfs_enable}" = "YES" ];then if [ ! -z "${bastille_zfs_zpool}" ]; then zfs create ${bastille_zfs_options} -o mountpoint=${bastille_prefix} ${bastille_zfs_zpool}/${bastille_zfs_prefix} + chmod 0750 "${bastille_prefix}" fi else mkdir -p "${bastille_prefix}" @@ -193,6 +194,7 @@ bootstrap_directories() { if [ "${bastille_zfs_enable}" = "YES" ];then if [ ! -z "${bastille_zfs_zpool}" ]; then zfs create ${bastille_zfs_options} -o mountpoint=${bastille_backupsdir} ${bastille_zfs_zpool}/${bastille_zfs_prefix}/backups + chmod 0750 "${bastille_backupsdir}" fi else mkdir -p "${bastille_backupsdir}"