From d9e5976ecefe1b99f024ef95dfb62c424db722d2 Mon Sep 17 00:00:00 2001 From: i-c-u-p <96894903+i-c-u-p@users.noreply.github.com> Date: Thu, 28 Apr 2022 10:10:30 +0000 Subject: [PATCH] change permissions of /mnt/root from 755 to 750 --- easy-arch.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/easy-arch.sh b/easy-arch.sh index 01f42f3..650fa6a 100755 --- a/easy-arch.sh +++ b/easy-arch.sh @@ -326,6 +326,7 @@ mkdir -p /mnt/{home,root,srv,.snapshots,var/{log,cache/pacman/pkg},boot} for subvol in ${subvols[@]:2}; do # ":2" excludes first two subvols (@snapshots and @var_pkgs) from loop mount -o $mountopts,subvol=@$subvol $BTRFS /mnt/$(sed 's,_,/,g' <<< $subvol) done +chmod -R 750 /mnt/root mount -o $mountopts,subvol=@snapshots $BTRFS /mnt/.snapshots mount -o $mountopts,subvol=@var_pkgs $BTRFS /mnt/var/cache/pacman/pkg chattr +C /mnt/var/log