Modify command lines for executing enlightenment with app user/group 49/9049/1
authorSung-Jin Park <sj76.park@samsung.com>
Sat, 13 Apr 2013 10:22:38 +0000 (06:22 -0400)
committerBoram Park <boram1288.park@samsung.com>
Mon, 2 Sep 2013 08:05:04 +0000 (17:05 +0900)
Change-Id: I35e8b3fdcd395181d95f14d7731643912f7e0868

arm-common/xinitrc

index 3f9ce40..58b7924 100755 (executable)
@@ -19,5 +19,9 @@ if [ ! -d ${HOME}/.e ]; then
        chown -R app:app ${HOME}/.e
 fi
 
-su -c "HOME=/opt/home/app /usr/bin/enlightenment_start -profile samsung -i-really-know-what-i-am-doing-and-accept-full-responsibility-for-it &" -l app
+E17_USER=`id -u app`
+E17_GROUP=`id -g app`
+
+HOME=/opt/home/app USER=app /usr/bin/enlightenment_start -profile samsung -i-really-know-what-i-am-doing-and-accept-full-responsibility-for-it -user ${E17_USER} -group ${E17_GROUP} &
+#su -c "HOME=/opt/home/app /usr/bin/enlightenment_start -profile samsung -i-really-know-what-i-am-doing-and-accept-full-responsibility-for-it &" -l app