From a8f40562f877af12ffbe4261e81094da61ba8895 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 19 Jan 2026 08:59:19 -0600 Subject: fix(archsetup): chown tmpfs mount point instead of parent dir - Fixed permission bug where source_dir tmpfs was owned by root - Remove zfssnapshot and zfsrollback (now in archzfs ISO) --- archsetup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archsetup') diff --git a/archsetup b/archsetup index 9133dd5..e7242ca 100755 --- a/archsetup +++ b/archsetup @@ -607,7 +607,7 @@ create_user () { (mount -t tmpfs -o size=4G archsetup "$source_dir" >> "$logfile" 2>&1) || \ error "crash" "mounting the RAM disk for archsetup" "$?" - (chown -R "$username":wheel "$(dirname "$source_dir")" >> "$logfile" 2>&1) || \ + (chown -R "$username":wheel "$source_dir" >> "$logfile" 2>&1) || \ error "crash" "changing ownership of $source_dir" "$?" } -- cgit v1.2.3