Hi all,

I have installed a neat little perl script called "TLBMP - Tobi's Live BookMarks 
Presenter"
by Tobias Oetiker (http://ee-staff.ethz.ch/~oetiker/) which places all your netscape 
bookmarks into a nice HTML page with search facility. It works as a CGI script but 
that means that it need to be able to see your bookmarks file. It works when I have 
set:

drwx--x--x    5 mikel    mikel         664 Apr  1 11:51 .netscape
-rw-r--r--    1 mikel    mikel      117660 Apr  1 11:41 .netscape/bookmarks.html

but when you fire up Netscape after a short while the permissions get changed back 
to what Netscape wants to:

drwx------    5 mikel    mikel         656 Apr  1 11:49 .netscape
-rw-------    1 mikel    mikel      117660 Apr  1 11:41 .netscape/bookmarks.html

Naturally then the bookmark CGI script can't read them. I thought of getting the 
CGI script to read a symlink to the netscape bookmarks file but that doesn't 
work as the CGI script runs as wwwrun in nogroup and still can't read the 
symlink once the permissions change. Has anyone come across this problem of 
Netscape changing permissions when it runs ? How could I work around it? 
I dont want to use a cron job to make a copy of the bookmarks.html file with the 
right permissions regularly - that would be messy :-)

I am using the latest version and Tobi's site does not have anything on it about 
this problem.

Mike
-- 
--------------------------------------------------------------------
Michael Lake
Active caver, Linux enthusiast and interested in anything technical.
Safety Convenor, Australian Speleological Federation
Owner, Speleonics (Australia)
--------------------------------------------------------------------
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to