summaryrefslogtreecommitdiffstats
path: root/ch
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-08-26 19:22:14 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-08-26 19:22:14 +0200
commit65a9a20521f29d930b77f9916fcd45467f630413 (patch)
treee1e982ecbf9ec83cd033c6fc19a5430a035fec3e /ch
parentc763f7d9fd680b5f3e785043dd0058b9dc17bb1f (diff)
downloadbin-65a9a20521f29d930b77f9916fcd45467f630413.tar.gz
bin-65a9a20521f29d930b77f9916fcd45467f630413.tar.xz
ch: Force umask 022
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'ch')
-rwxr-xr-xch2
1 files changed, 2 insertions, 0 deletions
diff --git a/ch b/ch
index 23cb533..1c97768 100755
--- a/ch
+++ b/ch
@@ -35,6 +35,8 @@ CHROOTS="/mnt/chroots/arch"
shopt -s nullglob
+umask 022
+
__genchroot() {
sudo btrfs subvolume snapshot "$chrootdir/root" "$copydir"
}