diff options
author | Gunnar Hjalmarsson <gunnarhj@ubuntu.com> | 2014-01-28 02:49:43 +0100 |
---|---|---|
committer | Gunnar Hjalmarsson <gunnarhj@ubuntu.com> | 2014-01-28 02:49:43 +0100 |
commit | 32dbd4fc5a108e0055ba0964e380437fd42596bf (patch) | |
tree | 1487766ac1fdb7797d86ebe254baccb180465dae | |
parent | cbc856e6caf3fbb4790bfc06580f0debf3aeaec0 (diff) | |
download | lightdm-32dbd4fc5a108e0055ba0964e380437fd42596bf.tar.gz |
debian/guest-account:
chown $HOME after /etc/guest-session/prefs.sh has been sourced.
-rw-r--r-- | debian/guest-account | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/guest-account b/debian/guest-account index ba152d46..5ea99f47 100644 --- a/debian/guest-account +++ b/debian/guest-account @@ -93,13 +93,13 @@ add_account () #dmrc='[Desktop]\nSession=guest-restricted' #/bin/echo -e "$dmrc" > "$HOME"/.dmrc - chown -R $USER:$USER "$HOME" - # set possible local guest session preferences if [ -f /etc/guest-session/prefs.sh ]; then . /etc/guest-session/prefs.sh fi + chown -R $USER:$USER "$HOME" + echo $USER } |