[plug] Cookies

Bret Busby bret at clearsol.iinet.net.au
Wed Nov 29 14:30:13 WST 2000


Steve Grasso wrote:
> 
> On Wed, 29 Nov 2000, Bret Busby wrote:
> [snip]
> > Did the cd. That worked okay. then did ls -al. No cookies.  act
> > cookies-> "no such file or directory". Thus, previous question; would
> > the file already exist, if no cookies allowed since OS and browser
> > installations?
> 
> AFAIK, no. If you want to allow only selected current-session cookies, but no
> persistent cookies ever, you could create a cookies file under ~/.netscape (eg
> touch ~/.netscape/cookies) then set ultra-restrictive file permissions (eg
> chmod 000 ~/.netscape/cookies). That way you have the option of selectively
> allowing cookies which will not persist beyond the current browsing session.
> 
> Steve

Wouldn't permissions of 000, make it unusable? Surely, that would mean
that the file would exist, but, be untouchable (no pun intended); so
that it would be of no use? If permissions are to be set, then, wouldn't
606 (r+w , for root and for user), be more appropriate? That would allow
root, and the user, to see what, if anything, is in the file, and, to
clear its contents, when appropriate.

-- 

Bret Busby

......................................
"So once you do know what the question actually is, you'll know what the
answer means."
 - Deep Thought, Chapter 28 of The Hitchhiker's Guide to the Galaxy
 - Douglas Adams, 1988 
......................................



More information about the plug mailing list