startkde - Error creating tmp directory on 1st kde4 login.

Dmitry Suzdalev dimsuz at gmail.com
Tue Oct 30 12:34:33 GMT 2007


On Tuesday 30 October 2007 15:26:22 Allen Winter wrote:
> Explanation:
>
> startkde uses lnusertmp to create the subdirs in /tmp and /var/tmp, if
> necessary. lnusertmp uses the mkdir() system call to do this.  But the
> mkdir() system call does not know how to create a full path; it can only
> create a directory in a path that already exists.  i.e. lnusertmp really
> needs to use 'mkdir -p <path>' or system("mkdir -p <path>").  I'm not sure
> that the -p option for mkdir is fully portable.
>
> In any event, as dfaure points out, you shouldn't need to set $KDEVARTMP
> anyway.

Thanks. Removed it from ~/.bashrc. Seems like leftover from stuff copied once 
from techbase.

cheers,
Dmitry.




More information about the kde-core-devel mailing list