On Mon, 13 Jan 2003, Dr Andrew C Aitchison wrote:

> It isn't clear what the "correct" permissions are.
> Setting the "sticky" or suid bit (the 4 in chmod 4711) makes the machine

The sticky bit (also called saved-text bit) is not the same as the suid
bit.  The former was originally a speed up on systems with poor VM
handling, the latter makes a program run effectively in an other user's
name.

(saved-text is bit 9, guid is bit 10, and suid is bit 11)

> Many distributions come configured to start X with xdm, kdm or gdm.
> In that case the suid bit isn't needed, since these programs are already
> running as root. You only need that bit if you need to allow ordinary
> users to run startx. On many systems you don't need to do that, so
> it is reasonable for Red Hat and Debian to ship XFree86 with the bit not
> set.

I haven't used xdm/gdm/kdm on my machine except by mistake.  At least the
unofficial XFree86 packages for woody (Debian 3.0) use the permissions
4711, I think 2.2 and the official 3.0 packages do too.

In any case, that's why the user should be pointed to the distribution
vendor first ;)

-Peter

_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to