[PATCH] Make startkde work with not-default KDETMP and KDEVARTMP

Thiago Macieira thiago at kde.org
Wed Jan 9 15:07:03 GMT 2008

On Wednesday 09 January 2008 15:56:39 Andras Mantia wrote:
> On Wednesday 09 January 2008, David Faure wrote:
> > Isn't there a ::mkdir() call inside lnusertemp itself?
> There is, but that whole lnusertemp works strangely. It treats KDETMP
> and KDEVARTMP as a *base* for the temporary directories and appends
> /kde-user and /kdecache-user to them and tries to mkdir KDETMP/kde-user
> and KDEVARTMP/kdecache-user, which fails.
> Sincerely I didn't want to change it as there is too much risk to break
> that code for me, who doesn't know what exactly it verifies and tries to
> do.

The thing is that KDETMP points to /tmp, not to the KDE temporary directory. 
Same for KDEVARTMP: it points to /var/tmp, not to the KDE Cache dir. It would 
be much easier if we had overriding variables for those instead.

  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080109/e225f9e2/attachment.sig>

More information about the kde-core-devel mailing list