mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
change permissions of /mnt/root from 755 to 750
This commit is contained in:
parent
ea300d5560
commit
d9e5976ece
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
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)
|
mount -o $mountopts,subvol=@$subvol $BTRFS /mnt/$(sed 's,_,/,g' <<< $subvol)
|
||||||
done
|
done
|
||||||
|
chmod -R 750 /mnt/root
|
||||||
mount -o $mountopts,subvol=@snapshots $BTRFS /mnt/.snapshots
|
mount -o $mountopts,subvol=@snapshots $BTRFS /mnt/.snapshots
|
||||||
mount -o $mountopts,subvol=@var_pkgs $BTRFS /mnt/var/cache/pacman/pkg
|
mount -o $mountopts,subvol=@var_pkgs $BTRFS /mnt/var/cache/pacman/pkg
|
||||||
chattr +C /mnt/var/log
|
chattr +C /mnt/var/log
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue