then /usr/sbin/setcap cap_chown=eip /usr/bin/email-service
fi
+
+# TODO: MOVE TO OTHER SCRIPT OR REMOVE
+# Requested by sooyeon.kim@samsung.com
+if [ -e "/etc/skel/share/.voice" ]
+then
+find /etc/skel/share/.voice -print0 | xargs -0 chown app_fw:app_fw
+find /etc/skel/share/.voice -print0 | xargs -0 chsmack -a 'User::App::Shared'
+find /etc/skel/share/.voice -type d -print0 | xargs -0 chsmack -t
+fi
+
+for line in `find /opt/usr/home -maxdepth 1 -type d`
+do
+ if [ -e "$line/share/.voice" ]; then
+ user=$(echo $line | cut -d"/" -f5);
+ find "$line/share/.voice" -print0 | xargs -0 chown $user:users
+ find "$line/share/.voice" -print0 | xargs -0 chsmack -a 'User::App::Shared'
+ find "$line/share/.voice" -type d -print0 | xargs -0 chsmack -t
+ fi
+done