Manual Section... (1) - page: lnusertemp
NAMElnusertemp --- tool to create KDE resources and symlinks to them
This manual page documents briefly the lnusertemp command.
lnusertemp is used to create KDE resources in temporary directories and symlinks to them in KDEHOME. The resource that needs to be created is given as an argument and can be anyone of:
- tmp: for the directory used for storing temporary files. This directory should be preferably on a local filesystem (available in KDE 2.x)
- socket: for the directory that holds temporary sockets. This directory needs to be on the local filesystem (available in KDE 2.x)
- cache: for the directory that stores cached information such as the HTTP cache and favicons (available since KDE 3.0)
lnusertemp will create the first two resources in directories under /tmp (or KDETMP if defined in the environment) and will use /var/tmp (or KDEVARTMP if defined in the environment) for the cache resource (in order to survive system reboots). The temporary directories created for resources are usually of the form RESOURCE-USERNAME. The name might vary if those filenames already exist and do not belong to the user for which lnusertemp is run, a temporary (unique) name will be used if possible to prevent temporary symlink attacks.
lnusertemp will return 0 if it can create the resource and symlink to it, or if the resource already exists and is properly symlinked it will return 1 if it cannot create the link or if the symlink is pointing to an incorrect location.
You can find more information on the KDE's usage of temporary files in the Chapter Temporary and Other Files KDE Uses (link to URL http://i18n.kde.org/doc/admin/temp-files.html) of the The KDE Administrators Guide (link to URL http://i18n.kde.org/doc/admin/) .
This manual page was written by Javier Fernandez-Sanguino <email@example.com> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General
Public License can be found in
This document was created by man2html, using the manual pages.
Time: 15:26:14 GMT, June 11, 2010