[links-list] Re: Bookmarks deleted after read error.

Petr Baudis pasky at pasky.ji.cz
Fri May 17 11:10:30 PDT 2002


Dear diary, on Wed, May 15, 2002 at 05:53:41PM CEST, I got a letter,
where paul.g.barnett at britishairways.com told me, that...
> 
> This looks similar to the problem you all discussed last month:
> 
> I'm using elinks 0.4pre7, and I DO care about my bookmarks.
> 
> I su to sudo to root and run elinks - it changes the permissions of my
> bookmarks
> file to root, but otherwise works ok.
> 
> I exit from root, (id is now paul) and run elinks. bookmarks are gone! I
> exit
> from elinks, and bookmarks file is zero bytes.
> 
> I think that elinks sees the bookmarks file, tries to read it, but fails
> (it is
> owned by root, mode=600), but then rewrites the file from its in-memory
> copy (which is, of course empty).
> 
> So it seems to me that elinks should not attempt to re-write the bookmarks
> file
> if it failed to read it. And it is probably another bug that elinks tries
> to re-write the
> bookmarks file, even when there are no changes.
> 
> And this probably applies to all other files written by elinks.
> 
> (links does not have this problem, as it sets the permissions
> to 644 - still owned by root, but readable by me.)

This all should be fixed now (mainly by zas), thanks for the report.

-- 
 
				Petr "Pasky" Baudis
 
* ELinks maintainer                * IPv6 guy (XS26 co-coordinator)
* IRCnet operator                  * FreeCiv AI hacker
.
Object orientation is in the mind, not in the compiler. -- Alan Cox
.
Public PGP key && geekcode && homepage: http://pasky.ji.cz/~pasky/
-- 
Unsubscribe: send email to links-list-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message



More information about the links-list mailing list