summaryrefslogtreecommitdiff
path: root/archsetup
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-19 08:59:19 -0600
committerCraig Jennings <c@cjennings.net>2026-01-19 08:59:19 -0600
commita8f40562f877af12ffbe4261e81094da61ba8895 (patch)
treedadad9f773960c6b33171defc9fd7a60b12ef936 /archsetup
parentbf20b8113b7243e47f399ee3924c8438e6ef6774 (diff)
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)
Diffstat (limited to 'archsetup')
-rwxr-xr-xarchsetup2
1 files changed, 1 insertions, 1 deletions
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" "$?"
}