[PATCH wayland-web] building: Recommend disabling setuid for non-root installs

Bryce W. Harrington b.harrington at samsung.com
Fri Aug 23 12:54:17 PDT 2013


The build directions guide the user to build and install Wayland in a
user directory without using superuser privs.  However, the weston build
process includes a `chown root` on weston-launcher done by default,
which results in a failed build when running make install as
non-superuser, unless we pass --enable-setuid-install=no to disable the
feature.

(Probably would be better to fix weston so make install works as
non-root, but for now just document the workaround...)

Signed-off-by: Bryce Harrington <b.harrington at samsung.com>
---
 building.html |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/building.html b/building.html
index b7a1158..a47744e 100644
--- a/building.html
+++ b/building.html
@@ -228,7 +228,7 @@ gio-2.0.</p>
 
 <pre>    $ git clone git://anongit.freedesktop.org/wayland/weston
     $ cd weston
-    $ ./autogen.sh --prefix=$WLD
+    $ ./autogen.sh --prefix=$WLD --enable-setuid-install=no
     $ make
     $ make install
 </pre>
-- 
1.7.9.5


More information about the wayland-devel mailing list