Alfredo Braunstein <[EMAIL PROTECTED]> writes:

| Lars Gullik Bjønnes wrote:
| 
| > Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
| > 
| > | Lars> Then perhaps we should create our pipes and sockets in a
| > | Lars> different places as standard. (/tmp/)
| > | 
| > | /tmp seems to be a reasonable place indeed. I guess this is what the
| > | directories like /tmp/.X11-unix or /tmp/mcop-foo do, no?
| > 
| > Yes.
| > 
| 
| Sorry for being dumb (I'm risking another brick here), but I don't
| understand how this can work. If the name is unique globally, how can the
| client guess it? 

.lyx-pipe-larsbj.5423

That is guessable, right?
 
| If the name is unique user-wise, won't another user be able to break your
| lyx by creating a file in tmp with the name of your pipe before you? And
| how will this work with multiple lyx at the same time?

Sure... why should we care about this?

That is a problem for all apps putting stuff in /tmp, how do those
apps solve it? (I bet they just punt.)

-- 
        Lgb

Reply via email to