Tighten up permissions on Weston run-time dir.
authorOssama Othman <ossama.othman@intel.com>
Wed, 6 Feb 2013 23:05:00 +0000 (15:05 -0800)
committerOssama Othman <ossama.othman@intel.com>
Fri, 19 Apr 2013 22:59:50 +0000 (15:59 -0700)
Change-Id: Ief1afb71efcad7df12897d8797f8017e8c1a9df4
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
packaging/weston.sh

index 620358d..d1d3cc0 100644 (file)
@@ -12,7 +12,7 @@ if [ ! -d "${XDG_RUNTIME_DIR}" ]; then
     mkdir -p $XDG_RUNTIME_DIR
     # This really should be 700 but we currently have to run Weston as
     # root.
-    chmod 777 $XDG_RUNTIME_DIR
+    chmod 755 $XDG_RUNTIME_DIR
 fi
 
 export XDG_RUNTIME_DIR