devfs bug?

From: Lukas Hejtmanek (xhejtman@mail.muni.cz)
Date: Thu Oct 12 2000 - 17:49:31 EST


Hi there,

as of devfs and devfsd Xterm seems to need suid bit set so that chown
of /dev/pts/{pts number} can be done. devpts fs does not need it.
So it is buggy devfs/devfsd or it is a feature?

The first allocation of pts number has good ownership but if it is freed
and another allocation is done by different user pts number has still
ownership of firt allocation if Xterm is not suid. In Red Hat Xterm is
no more suid.

-- 
              Thnx&cya
                Luke 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:23 EST