瀏覽代碼

setuid bit for Xorg is needed, when normal user uses startx

Waldemar Brodkorb 15 年之前
父節點
當前提交
9d13a58ff8
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      package/xorg-server/Makefile

+ 1 - 0
package/xorg-server/Makefile

@@ -84,6 +84,7 @@ post-install:
 	${CP} ${WRKINST}/usr/lib/xorg/protocol.txt \
 		$(IDIR_XORG_SERVER)/usr/lib/xorg/
 	${CP} ${WRKINST}/usr/bin/* $(IDIR_XORG_SERVER)/usr/bin
+	chmod u+s $(IDIR_XORG_SERVER)/usr/bin/Xorg
 	${CP} ${WRKINST}/usr/lib/xorg/modules/*.so \
 		$(IDIR_XORG_SERVER)/usr/lib/xorg/modules
 	${CP} ${WRKINST}/usr/lib/xorg/modules/extensions/*.so \