Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-16-2005, 03:44 PM
|
#1
|
Member
Registered: May 2005
Location: Italy
Distribution: Crux
Posts: 62
Rep:
|
kde, /tmp, /var/tmp and all that
i can't understand why kde keeps filling my /tmp and /var/tmp dirs with data from users activities, why not put this stuff in the user's home folder? this is beyond me, it recalls me of some stuff from redmond which can't help to spread files recording your activity across the HD... besides joking, is there a technical explanation as to why stuff like kdecache-<user> (for example) should livee there? what's worse this leaves trails of deleted user accounts, which have to be manually removed, and most of the times this dirs contain sensible data such as internet cache etc...
|
|
|
06-16-2005, 04:20 PM
|
#2
|
Senior Member
Registered: Jun 2004
Posts: 2,553
Rep:
|
yea future kde versions might have this stuff in a different place so it doesn't get cleaned for a faster boot
you can set it if you want with
export KDETMP=/path/to/wherever
in your .profile
the one in /var/tmp is konqueror and i don't know how to change
these directories are drwx------ so no one can look at them but user
as to why -- it's where tmp files are suposed to go -- in /tmp (duh) and after boot larger tmp files are suposed to go in /var/tmp
|
|
|
06-16-2005, 05:22 PM
|
#3
|
LQ Guru
Registered: Jan 2002
Posts: 6,042
Rep:
|
If you have a gigabyte of swap space or more, you can use tmpfs for /tmp /var/tmp. In your /etc/fstab add or change
Code:
none /dev/shm tmpfs size=1G,mode=1777 0 0
/dev/shm /var/tmp none bind 0 0
/dev/shm /tmp none bind 0 0
The problem is you have to tell users that files will be remove upon every boot up. Another problem is Linux will still cache tmpfs, so you will lose some memory.
|
|
|
06-17-2005, 08:51 AM
|
#4
|
Member
Registered: May 2005
Location: Italy
Distribution: Crux
Posts: 62
Original Poster
Rep:
|
thanks for your replies, I'll go about setting tmpfx support on this box, looks like an elegant solution!
|
|
|
06-17-2005, 12:31 PM
|
#5
|
Senior Member
Registered: Jun 2004
Posts: 2,553
Rep:
|
Quote:
Originally posted by Electro
If you have a gigabyte of swap space or more, you can use tmpfs for /tmp /var/tmp. In your /etc/fstab add or change
|
i personally think putting this stuff (especially internet cache) in ram instead of on disk is a HUGE security risk.
anybody else with an opinion on that ?
|
|
|
All times are GMT -5. The time now is 02:27 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|