From 6c5371b10a50ce1f0237ad98831a60497c1fa71d Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Mon, 15 Dec 2014 18:26:20 +0100 Subject: Fix home dir permissions --- liveusb/airootfs/root/customize_airootfs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/liveusb/airootfs/root/customize_airootfs.sh b/liveusb/airootfs/root/customize_airootfs.sh index a4bd382..2065be0 100755 --- a/liveusb/airootfs/root/customize_airootfs.sh +++ b/liveusb/airootfs/root/customize_airootfs.sh @@ -1,8 +1,9 @@ # Enable the vbox service systemctl enable vboxservice -# Create the amenthes user +# Create the amenthes user and fix permissions on home dir useradd -m -G wheel -s /bin/bash amenthes +chown -R amenthes:amenthes /home/amenthes # Setup the lxdm config sed -i 's/^# \(autologin=.*\)/\1/' /etc/lxdm/lxdm.conf # uncomment autlogin conf -- cgit v1.3.1