summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2014-12-15 18:26:20 +0100
committerYuval Adam <yuv.adm@gmail.com>2014-12-15 18:26:20 +0100
commit6c5371b10a50ce1f0237ad98831a60497c1fa71d (patch)
tree820e38cbfb70981ba997d9a5cd8b8f68a8835b2c
parent0bce6a638d2b9e197bd6edd7de6acea4649b5343 (diff)
Fix home dir permissions
-rwxr-xr-xliveusb/airootfs/root/customize_airootfs.sh3
1 files changed, 2 insertions, 1 deletions
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