From: W. Trevor King Date: Fri, 29 Mar 2013 12:20:15 +0000 (-0400) Subject: fsscript.sh: Make a ~swc/.fluxbox/ directory for fluxbox-generate_menu X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9a34bdf56e663ae60f403679e8f0e02a41e6a914;p=catalyst-swc.git 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 --- 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