summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-04-26 03:44:44 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-04-26 03:44:44 -0500
commit791d93c4448c8d5ebd82941831ba8bf1d3e9e698 (patch)
tree07617853069ef1c79b48ed5e0def0fead8c97916
parent1c93feb3d22c44c65cf26fc9a84568ef5750bc5e (diff)
downloadimage-791d93c4448c8d5ebd82941831ba8bf1d3e9e698.tar.gz
image-791d93c4448c8d5ebd82941831ba8bf1d3e9e698.tar.bz2
image-791d93c4448c8d5ebd82941831ba8bf1d3e9e698.tar.xz
image-791d93c4448c8d5ebd82941831ba8bf1d3e9e698.zip
adelie-build-cd: ensure live's HOME has proper perms
-rwxr-xr-xadelie-build-cd1
1 files changed, 1 insertions, 0 deletions
diff --git a/adelie-build-cd b/adelie-build-cd
index 5f50ff4..f12e3d9 100755
--- a/adelie-build-cd
+++ b/adelie-build-cd
@@ -182,6 +182,7 @@ make_structure() {
echo 'live:x:1000:1000:Live User:/home/live:/bin/bash' >> squashroot-$ARCH/etc/passwd
echo 'live:x:1000:' >> squashroot-$ARCH/etc/group
echo 'live::::::::' >> squashroot-$ARCH/etc/shadow
+ chmod 1000:1000 squashroot-$ARCH/home/live
cat >squashroot-$ARCH/etc/shells <<- SHELLS
/bin/bash