First of all: thanks for a swift response! > > It seems sylpheed-claws uses getpwent or similar to figure out where > No getpwent call is present on the source code, only glib's > g_get_home_dir is used IIRC.
I suppose this is similar to getpwent? Is there any way to make s-c-gtk2
use some other dir than <result of g_get_home_dir>/.sylpheed-claws?
Please understand that I'm not just nit-picking here. I really require
this possibility since my real home is on an AFS partition to which I
lose access every 12 hours due to expiring tokens. I want, however, to
keep sylpheed filtering my emails, since my employer (university) does
not provide a useful server-side filtering mechanism. Without filtering,
my quota is full in a matter of days, thanks to spammers and a few
co-workers who send huge attachments to *mailing lists*.
> Please, can you post exact steps (and/or special configuration
> details) needed to make sylpheed-claws create its dotdir outside $HOME
> directory?
~> export HOME=/tmp; strace -o foo -f sylpheed-claws-gtk2
I would now expect s-c-gtk2 to use ~/.sylpheed-claws to read its config,
store its imap cache etc. Check "foo": it still uses whatever getent
passwd gives.
Steve: you know better than I, which severity is correct, but should the
policy perhaps be more clear as to what is "a user's home directory"? If
it means "whatever $HOME contains", this is severity serious (this was my
reasoning); if it means "whatever getent passwd" returns, then I agree
with you, this is not serious. I think the correct answer would be that
the home directory is whatever getent passwd returns unless $HOME is
defined, in which case $HOME overrides.
-Juha
--
-----------------------------------------------
| Juha Jäykkä, [EMAIL PROTECTED] |
| home: http://www.utu.fi/~juolja/ |
-----------------------------------------------
signature.asc
Description: PGP signature

