Mailing List Archive

Support open source code!


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

tlug: netscape cookies



Hi all,

A few months ago I posted what I thought was a reasonable way to
keep cookies from being set - make the cookies file permission
-r--------

Well, I noticed that every now and then the permissions had been
set back to -rw------- At first I thought it was some sneaky
webmaster who had figured out a way to reset the permissions,
but then I noticed that it happened every time I started
navigator4.05. (I usually surf with 3.0.) After a little
investigation, it turns out that when nav4.05 see the read only
permission, it deletes the cookies file alltogether!

What to do?! My first line of attack was to write a shell script
for 3.0 that would copy a cookies file I like:

-------------------------------------------
#!/bin/sh

cp /home/schweiz/.netscape/cookies.save
/home/schweiz/.netscape/cookies
chmod 0400 /home/schweiz/.netscape/cookies

/usr/local/lib/netscape/netscape.sh
-------------------------------------------

I tried to do the same for 4.05 but had to modify it slightly:

-------------------------------------------
#!/bin/sh

/hdd/nav405/netscape

wait  

cp /home/schweiz/.netscape/cookies.save
/home/schweiz/.netscape/cookies
chmod 0400 /home/schweiz/.netscape/cookies
-------------------------------------------

BTW, surfing with no cookies file seems to work OK. I tested it
at Amazon and was able to view pages without getting any
warnings about cookies not being set etc.

FYI

Jim S.
----------------------------------------------------------------
Next Nomikai: 20 November, 19:30   Tengu TokyoEkiMae 03-3275-3691
Next Technical Meeting: 12 December, 12:30 HSBC Securities Office
----------------------------------------------------------------
more info: http://tlug.linux.or.jp Sponsors: PHT, HSBC Securities


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links