lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV Improvement on /tmp code fix?


From: T.E.Dickey
Subject: Re: LYNX-DEV Improvement on /tmp code fix?
Date: Sun, 13 Jul 1997 13:08:17 -0400 (EDT)

> Tom wrote:
>  ] sticky directories are fairly recent - I don't remember noticing them 
> before
>  ] Sun's NFS stuff took hold in the early 90's. symbolic links have been 
> around
>  ] a bit longer than that (they weren't in SVr1, I think).
> 
> Didn't 4.3BSD have them?  That's been around at least 10 years.  
> en.ecn.purdue.edu had them (past tense, it [a Gould NP1] got turned 
> off a month or so ago) from what I remember.  Could've been a ghg
> hack, though...
recent's a relative term - true.  Unix's been around a lot longer than that,
and some of the variants that I see in the makefile split off longer ago than
10 years.
 
>  ] if you open the file with the right permissions, you don't need to chmod 
> it.
>  ] you should be able to wrapper this to construct the filename and return the
>  ] pointer to it as one operation, that way you aren't going to be concerned
>  ] about someone else using the file.
> 
> Desire to chmod was not related to desire to avoid symlink spoofing, it 
> was related to desire for concern for privacy issues.  umask() would
> work fine, but if you have three-argument open then you have to put
> _something_ in there.
right (it won't hurt to put a compatible mask in the open).

>  ] that's expensive, and you have to know how to transit mount points (that's
>  ] not very portable either - it'd be a pain to implement)
> 
> Fine, we just trust admins on that part then?
I've found that doesn't work well (I can tell some interesting stories...)
 
> I envisioned just splitting the path into directory components and statting
> each one, since we have a full path to temp_space.
but if one of the levels is a link, you don't 'see' it properly that way,
right?
 
> I'll look into the code that Jim Dennis (saw you in July BYTE page 16) 
> posted a reference to...
good

-- 
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]