Questions tagged [tmp]
145 questions
144
votes
9 answers
How to clean /tmp?
rizhas@rizhas-laptop:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda7 67G 58G 5,2G 92% /
none 4,0K 0 4,0K 0% /sys/fs/cgroup
udev 1,5G 12K 1,5G 1% /dev
tmpfs 303M 1,2M 302M …

Rizhas
- 1,549
- 2
- 10
- 4
17
votes
3 answers
Accidentally deleted tmp folder
i was trying to run
sudo rm -r ./tmp
but instead typed
sudo rm -r /tmp
Will it be fixed by running?
sudo mkdir /tmp
if i do what permissions should i give it?
ps: i didnt log out of my system yet

Adonis K. Kakoulidis
- 1,336
2
votes
1 answer
Is it possible to delete files in the /tmp directory once a certain directory size is exceeded?
According to How is the /tmp directory cleaned up?, the /tmp directory is cleaned up using tmpreaper, which uses cron to schedule cleanups at fixed time intervals. However, I would instead like to enforce a certain maximum size of the tmp directory.…

Kurt Peek
- 409
1
vote
1 answer
Error reading disk drive /tmp at boot
First I want to say thank you in advance because I have been reading all the forum entries about similar problems and I have had no luck in solving this one.
I have a Dell Inspiron with a phony Windows 7 OS; it's currently open to viruses and I'm…

Malekk
- 11
1
vote
0 answers
Just erased /var/tmp dir, what to do?
While cleaning up the system for about 7 hrs, I "cleaned up" the \var\tmp folder , which has no backup.
Despite the answer looks as very simple and straightforward - just reboot and forget,
I'm affraid to do so since it is live server and if…

Alexey Abraham
- 111
1
vote
0 answers
Why are temporary files not cleaned by default?
I have noted that at least since 18.04 up to 19.10 the settings for automatically cleaning temporary files is not enabled by default.
Why is this?
I reckon that one reason might be to limit wear on SSDs, but if a temporary file is not touched for 30…

beruic
- 865
0
votes
1 answer
How does one create a ~/tmp that cleans up automatically on boot and/or on Cron?
This is to keep temporary files I create and forget to delete from polluting my file system. Presumably the target directory could be named anything.

Zach_is_my_name
- 113
0
votes
2 answers
Change from windows 7 to ubuntu 14. And doesnt work
I changed from Windows 7 to Ubuntu 14.04 and after installation it loaded Windows.
From windows i selected Ubuntu as my default OS. Since, it only shows a message that says serious errors were found while checking the disk drive for /. Selected I…
0
votes
1 answer
tmp is not ready error
I'm using Ubuntu 14.04 from external hard-drive. Sometimes, when I run ubuntu "the disk drive for /tmp is not ready" error message appears and OS cannot be started. In this case, I restart several times to open ubuntu. Is there way to eliminate this…

deepblue_86
- 1,194
0
votes
2 answers
Corrupt /tmp directory
My /tmp directory got corrupted. Things got scary for a while and I was unable to boot :-(. I have now got myself back to a working system by renaming the corrupt /tmp to /tmp.old, and creating a new /tmp:
drwxrwxrwt 6 root root 4096 Nov 29…

Matt Caswell
- 2,250
0
votes
2 answers
tmp dir 100% full only 56k out of 1MB being used
I know there are lots of posts on in the stack exchange web with problems similar to mine but I have not found one that quite helps yet. As you can see from the output below df shows my /tmp directory to be completely full. This has happened to me…

BryanK
- 103
- 2
0
votes
1 answer
Alleged space problems involving creating files in /tmp
When trying to open an epub file with Atril Document Viewer it shows the error:
Failed to create directory '/tmp/atril-13933': No Space Left on Device.
Similarly, when trying to download a small file (1,4 MB) in Firefox the standard downloader,…
0
votes
0 answers
Can I delete cnijpwgtmp files in /var/tmp?
My /var/tmp folder is 27 GiB.
Upon inspection, I've found hundreds of files starting with cnijpwgtmp (fi: cnijpwgtmpk6YaSu).
What are these files and can I delete them safely to restore space?

wouter205
- 1,161
-1
votes
1 answer
change tmp folder for sudo / root command
change tmp folder for sudo / root command
in .bashrc file added
export TMP=/new/tmp
export TEMP=/new/tmp
export TMPDIR=/new/tmp
Also created a symlink for /tmp to new location
apps that i am running without sudo they create temp files in the new…

Estatistics
- 551
-1
votes
1 answer
/tmp is not ready or not present
today i found out that Mint with LXDE had fall.
it said that
"/tmp is not ready or not present".
how to improve it?
additional question:
how to transfer /home on separate tome?

gaussblurinc
- 327
- 5
- 12