General Unix/C question
Maarten Litmaath
maart at cs.vu.nl
Sat Sep 10 04:23:14 AEST 1988
In article <794 at philmds.UUCP> leo at philmds.UUCP (Leo de Wit) writes:
\ 2) when you start the program the input/output redirection is
\done, perhaps by your shell. This means that these input/output streams
\must be readable/writable by the current uid/gid; when you setuid &
\setgid the process may not be allowed anymore to write these
\descriptors.
That is simply not true: if you have an open file descriptor, you can write
to it (presuming it has been opened for writing).
Concerning the original problem: maybe an example will shed some light upon
the matter?
--
Alles klar, |Maarten Litmaath @ Free U Amsterdam:
Herr Kommissar? |maart at cs.vu.nl, mcvax!botter!maart
More information about the Comp.unix.questions
mailing list