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:
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 is usually called by the startkde script.
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 protected]> 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
/usr/share/common-licenses/GPL.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |