From 9a34bdf56e663ae60f403679e8f0e02a41e6a914 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 29 Mar 2013 08:20:15 -0400 Subject: [PATCH] fsscript.sh: Make a ~swc/.fluxbox/ directory for fluxbox-generate_menu And make sure everything under ~swc/ is owned by swc.users. This fixes: Running fsscript.sh in chroot /.../livecd-stage2-i686-2013.1/ touch: cannot touch '/home/swc/.fluxbox/menuconfig': No such file or directory Warning: I couldn't create /home/swc/.fluxbox/menuconfig Fatal error: can't create or write to /home/swc/.fluxbox/menu --- bin/fsscript.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/fsscript.sh b/bin/fsscript.sh index ab319e7..4cc5044 100755 --- a/bin/fsscript.sh +++ b/bin/fsscript.sh @@ -1,4 +1,6 @@ #!/bin/bash echo 'source /etc/profile.d/nobeep.sh' >> /home/swc/.bashrc +mkdir /home/swc/.fluxbox su swc fluxbox-generate_menu +chown -R swc.users /home/swc -- 2.26.2