Browse Source

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

Waldemar Brodkorb 15 years ago
parent
commit
9d13a58ff8
1 changed files with 1 additions and 0 deletions
  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 \
 	${CP} ${WRKINST}/usr/lib/xorg/protocol.txt \
 		$(IDIR_XORG_SERVER)/usr/lib/xorg/
 		$(IDIR_XORG_SERVER)/usr/lib/xorg/
 	${CP} ${WRKINST}/usr/bin/* $(IDIR_XORG_SERVER)/usr/bin
 	${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 \
 	${CP} ${WRKINST}/usr/lib/xorg/modules/*.so \
 		$(IDIR_XORG_SERVER)/usr/lib/xorg/modules
 		$(IDIR_XORG_SERVER)/usr/lib/xorg/modules
 	${CP} ${WRKINST}/usr/lib/xorg/modules/extensions/*.so \
 	${CP} ${WRKINST}/usr/lib/xorg/modules/extensions/*.so \