|
From: Benjamin T. <ben...@bu...> - 2002-10-02 07:56:16
|
Some days ago, I reported the following bug for Scrollkeeper (see below).
I think this is a major problem if there is more than one user or more
than one GNOME 2 installation on the same host.
I hope this could be fixed soon.
Thank you.
Benjamin.
BUG 614263
==========
Problem with temporary file names Scrollkeeper 0.3.9 :
After installation, main window of Yelp, GNOME2 help browser, showed
*no* GNOME docs.
The problem I found was that :
-- Yelp executes scrollkeeper-get-content-list to build its DB.
-- scrollkeeper-get-content-list write the content in a temporary file
-- Temporary files can be :
/tmp/scrollkeeper-tempfile.#,
where # is a number between 0 and 4.
-- In /tmp, all the five possible temporary files already existed and
were owned by another user.
On the same system we have about 4 or 5 GNOME 2 installations running.
-- scrollkeeper-get-content-list couldn't write its file but didn't
complain, because the other user owned all the temporary files.
-- Yelp parsed on of the file created by the other user which did not
contained all the entries.
-- As a result, I can access only the docs installed by the other user.
I think the function get_next_free_temp_file_path() in cl/get-cl.c has a
problem.
-- Either, it must create the temporary file with write permission for
everyone,
-- Or, the procedure to select a filename as to be changed (may be by
using a random file name or adding
the username or UID to the temporary filename)
--
B e n j a m i n T h e r y - BULL/BI&S/GeODE/AIX & Linux CC
mailto:Ben...@bu...
http://www.bull.com
|