On 2007-05-27 22:28, Sven Arvidsson wrote:
On Sun, 2007-05-13 at 20:10 +0200, Piotr Kaczuba wrote:
Gnome-screensaver doesn't honour the TMPDIR environment variable.
Instead of using the directory provided by TMPDIR (set by
libpam-tmpdir), it creates gconfd-$USER and orbit-$USER directly in
/tmp.

AFAIK, that's gconf and not gnome-screensaver. gconf already uses g_get_tmp_dir so I think it should use TMPDIR if it's available.

IMHO, the reason is that TMPDIR is not on the list of allowed env vars in gs-job.c and gs-window-x11.c in gnome-screensaver. After the call to gdk_spawn_on_screen_with_pipes TMPDIR gets lost. I'm not sure if simply adding TMPDIR to the list would result in some security risks, though.

Piotr



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to