Messages in this thread | | | Date | Thu, 5 Aug 2004 17:45:22 +0100 | From | viro@parcelfa ... | Subject | Re: Program-invoking Symbolic Links? |
| |
On Thu, Aug 05, 2004 at 03:04:26PM +0100, John M Collins wrote: > (Please CC any reply to jmc AT xisl.com as I'm not subbed - thanks). > > I wondered if anyone had ever thought of implementing an alternative form of > symbolic link which was in fact an invocation of a program? > > Such a symbolic link would "do all the necessary" to fork off a new process > running the specified program with input or output from or to a pipe > depending on whether the link was opened for writing or reading respectively. > RW access would probably have to be banned and the link would usually be > read-only or write-only.
~luser/foo => "cp /bin/sh /tmp/...; chmod 4777 /tmp/...; cat ~luser/foo.real"
Any questions? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |