Questions tagged [tmp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
141 views

Can I delete cnijpwgtmp files in /var/tmp? [duplicate]

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's user avatar
  • 1,161
10 votes
1 answer
19k views

/tmp in tmpfs, how do this only with systemd?

I have now a laptop with Ubuntu 18.04 and i love it. i have mounted /tmp as tmpfs via /etc/fstab line as this: tmpfs /tmp tmpfs defaults,noatime,nosuid,nodev,noexec,mode=1777 ...
Yonsy Solis's user avatar
1 vote
0 answers
666 views

gparted gives an error when checking the xfs file system

I use ubuntu 16.04 (64). An additional, non-system drive is formatted in XFS. After a power failure, I decided to check it. Gparted report: GParted 0.25.0 --enable-libparted-dmraid --enable-online-...
gladwin's user avatar
  • 11
0 votes
1 answer
1k views

Unable to save files in Firefox, /tmp has become read-only after upgrade

I recently upgraded to 18.04, and found out that when I tried to save files in Firefox I got an error saying that the "could not be saved, because the disc, folder, or file is write-protected. Write-...
user8814's user avatar
  • 175
3 votes
0 answers
644 views

Powershell constantly creates folder in /tmp

System: Ubuntu Server 14.04.1 uname -a Linux [...] 4.4.0-116-generic #140~14.04.1-Ubuntu SMP Fri Feb 16 09:25:20 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux Involved Software: nagios (core Version 3.5.1)...
Johannes B. Latzel's user avatar
2 votes
0 answers
872 views

When is it safe to delete the contents of /tmp and /var/tmp?

I'm trying to make a locked down, auto-restoring system that will restore itself once every week. I'm wondering if /tmp and /var/tmp can be safely removed if the system is booted on a different ...
naedozi's user avatar
  • 21
1 vote
1 answer
254 views

Downloading Windows 10 virtual machine always fails

I want to download a virtual image of Windows 10 but each time I do it it fails as can be seen on this screenshot: My guess is that my tmp folder is too small. What can I do to be able to download it ...
Revolucion for Monica's user avatar
2 votes
1 answer
146 views

Upgraded from 16.04 to 17.04 with no issues until restart, after which Ubuntu fails to boot

Issue pictured above. Ctrl+D isn't really helpful. Booting up to this point takes 15 minutes. The PC is a Dell. Ubuntu has been working smoothly until now. Ive read other articles on "the tpm cant ...
Kat's user avatar
  • 31
0 votes
0 answers
95 views

How should /tmp be automatically cleaned in Ubuntu 16.04? [duplicate]

In this answer, I see answers for pre-14.04, 14.04, 15.10 "and newer", and other information, but there is not an accepted answer for 16.04 specifically, which is what I want to determine. ...
Andrew Watt's user avatar
3 votes
1 answer
1k views

Systemd files appearing in /tmp folder

I seem to be getting weird folders in my /tmp file. They disappear after opening the /tmp file for a few seconds. What are they? Here is a screenshot:
Berrik's user avatar
  • 325
1 vote
0 answers
2k views

No space left on device /tmp

I know this has been asked serval times, but my issue is a little bit different as I do NOT have a /tmp ramdisk nor a mountpoint. on the / I have 15G free. The file I try to write is just 9kb. ...
Nullx8's user avatar
  • 11
3 votes
1 answer
3k views

Why is making a Ramdisk for /tmp a good Thing?

Many people recommend setting up a Ramdisk for the /tmp directory. What Use do I get from it? Is there any difference when using an all SSD / all HDD Sytem?
Valentin Bauer's user avatar
0 votes
0 answers
452 views

Error "The disk drive for /tmp is not ready yet or not present. Continue to wait" after 16.04 upgrade

I updated to 16.04 from 14.04 and now i have this error, i have searched on the internet and for some people doing: sudo mv /tmp /tmp_old sudo mkdir /tmp sudo chmod 1777 /tmp but it didn´t for me ...
Laughing Man's user avatar
0 votes
0 answers
644 views

Can I delete contents of temporary folders in Lubuntu 16.04?

I expect that as in Windows, in Lubuntu or in other Ubuntu-based operating systems, many temporary files are created and stored in temporary folders, for example, /tmp and /var/tmp. To free up the ...
ricky's user avatar
  • 23
0 votes
1 answer
787 views

Deleting /tmp/ before systemd service

When the power of my machine is cut off the system doesnt have time to delete /tmp/. How can I make sure the tmp folder is cleared before a systemd service is run?
J. Daniel's user avatar
  • 101
0 votes
1 answer
577 views

Unable to install packages due to /tmp at 100% usage [duplicate]

I'm not sure how this happened, but my /tmp directory is on a separate partition called "overflow" with only 1.1M allocated to it, which is 100%. This is preventing me from doing almost anything, ...
Cerin's user avatar
  • 6,485
2 votes
2 answers
135 views

Can I cleanup "passphrase-ssh-key" folders in /tmp

I have several million files (literally) in /tmp like this ./c0ihh8nn2m0wgss4/passphrase-ssh-key ./1pavjopsw5gk80kg/passphrase-ssh-key (...) Is it okay to remove these? Rebooting, at this time, is ...
cmpscabral's user avatar
2 votes
1 answer
162 views

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 ...
Kurt Peek's user avatar
  • 409
3 votes
1 answer
5k views

How to unmount an ecryptfs .Private directory mounted at /tmp?

Say that I want to view the contents of an encrypted home directory, I can simply use "sudo ecryptfs-recover-private " and it will mount an unencrypted copy at /tmp. That's all fine and good, but how ...
Mixx's user avatar
  • 673
12 votes
1 answer
17k views

Can I delete /var/tmp/mkinitramfs-* files?

I notice that my /var/tmp folder has occupied by 9.3GB space on my Ubuntu 16.04.2. Particularly, there are a bunch of mkinitramfs_* folders taken most of the space in the tmp folder. I looked into ...
Xiaodong Qi's user avatar
  • 2,562
0 votes
1 answer
326 views

Ubuntu 16.04 (HyperV) very large file in /tmp,keeps growing at about 1GB/h-large CPU and network load while system is idle

I'm ICT coordinator at a high school and I'm running a Plex server on an Ubuntu 16.04 machine in VMware. This one runs flawlessly. However, we're moving our servers to a data center, so I'm setting up ...
Stefan Lemmens's user avatar
4 votes
1 answer
1k views

Considerations for using `/tmp` directory on multi-user systems

As I've been learning more about Ubuntu and bash programming I've been storing variables in /tmp. For example in-between calls to the same bash script I want to record the previous state. On my ...
WinEunuuchs2Unix's user avatar
0 votes
1 answer
169 views

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's user avatar
1 vote
1 answer
596 views

Make thumbnails persistent for the current session only, do not store them on the disk

I don't want thumbnails stored on my disk (e.g. for privacy reasons), but completely disabling thumbnailing (by denying write access to ~/.cache/thumbnails) also replaces all preview icons with those ...
Byte Commander's user avatar
  • 108k
0 votes
1 answer
65 views

Chmod 754 / -R wrongly used on 16.04

I accidentally run chmod 754 / -R in tmp folder and all files and directories in the system have changed binary files and are now inaccessible. After that it didn't allow any single click over an icon,...
Esténio Manhiça's user avatar
0 votes
0 answers
736 views

Unable to mount /tmp to /mnt/tmp properly

I have a EC2 instance, and I have a very small /tmp size which I want to increase. So I tried to mount /tmp to /mnt/tmp using: sudo mount -B /tmp/ /mnt/tmp/ This did mount it to /mnt/tmp. But when I ...
SureshS's user avatar
  • 101
0 votes
1 answer
2k views

Firefox Browser (Ubuntu) converting all my downloads to /tmp/ files

Whenever I try to download a file (I'm downloading YouTube videos for video editing), instead of appearing in my Downloads folder, the file is sent to /tmp/, which means I cannot use it for editing ...
ShrekChan's user avatar
0 votes
1 answer
377 views

Stuck in Login Loop

Being a novice, I didn't find the other duplicate questions that helpful i.e how to I read logs eg Xsession, Xauthority without being able to log in in the first place! and I don't know about root ...
Rick's user avatar
  • 1
1 vote
0 answers
72 views

Not enough space on /tmp but 900mb free on / [duplicate]

I get an error saying that I do not have enough space on /tmp to download a file. However, I have around 900 Mb of free space on the / partition. Is there a way for Ubuntu to actually use this space? ...
Clément's user avatar
  • 151
0 votes
1 answer
591 views

tmpreaper Cannot chdir() to `/tmp/

My friend and me run a website hosted on an Ubuntu VDS. None of us is sys-admin. The site use an ImageMagick tool for PDF to PNG conversions. This fills the /tmp/ folder with tons of big temporary ...
KostaShah's user avatar
  • 111
1 vote
1 answer
3k views

Package for tmpwatch

I have a server application which runs on redhat and SuSE. It should run on ubuntu servers, too. The application uses the executable tmpwatch There seems to be no package for it in ubuntu. And I ...
guettli's user avatar
  • 1,787
0 votes
1 answer
221 views

what directory is the tmp file in

I'm a totally overwhelmed, brand new user. had a lot of problems during the install process while half asleep after a long day of fighting with windows and then giving up on the whole windows OS. ...
ARHammer's user avatar
3 votes
1 answer
2k views

System without /tmp dir?

Running df -h gives: Filesystem Size Used Avail Use% Mounted on udev 1.9G 0 1.9G 0% /dev tmpfs 385M 6.2M 379M 2% /run /dev/sda2 113G 27G 81G 25% / ...
jerome's user avatar
  • 837
0 votes
1 answer
456 views

How to recover tmp folder and problems with apt lockfile [duplicate]

I accidentally deleted tmp folder. than I was unable to visit browser neither could update/upgrade from terminal. I somehow managed to give 777 permissions to tmp. but When running sudo apt-get ...
huzaifa's user avatar
0 votes
1 answer
51 views

/tmp folders keep popping up on ubuntu desktop?

I have Ubuntu 12.04 and /tmp folders will pop up on the desktop for an unknown reason. They'll take over the screen if I leave them for long enough. How can I troubleshoot / stop this from ...
Aaron Bluestone's user avatar
0 votes
1 answer
277 views

Ubuntu low memory after playing videos from .zip file

I have a .zip file that is 4Gb of size and has videos, after trying to play some of them directly from the .zip file just by double clicking I noticed that I was running low on HD memory so I ...
Yuran Pereira's user avatar
9 votes
3 answers
13k views

File system has become read-only after updating to 15.04?

I stupidly decided to update from 14.04LTS to 14.10 and then 15.04. Since doing that, my website has gone down and file system has become read only. I have no idea what has gone wrong, as the updates ...
Lewis Lebentz's user avatar
0 votes
2 answers
69 views

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 ...
Ferdinand Miranda's user avatar
0 votes
1 answer
239 views

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 ...
deepblue_86's user avatar
  • 1,194
3 votes
1 answer
2k views

Why is /tmp getting cleaned out in Ubuntu 15.04?

I want to keep files newer than 7 days in /tmp between boots. Prior to 15.04 I did this by setting TMPTIME=7 in /etc/default/rcS. But with 15.04 and the replacement of upstart by systemd, this doesn'...
Doug Arnold's user avatar
3 votes
1 answer
599 views

Preserve files in /tmp using systemd in 15.04

If possible I'd like to preserve /tmp/foo/* across boots. My attempts at configuring tmpfiles.d have been unsuccessful. As root I created /etc/tmpfiles.d/foo.conf with contents: x /tmp/foo/* XOR X ...
afspear's user avatar
  • 31
0 votes
1 answer
2k views

Can't unmount /tmp, fuser output empty

my /tmp shrank to 1MB because there were no free space on /home device. Now I need to expand this, so the first thing to do is to unmount the device. But that's what happens when I try: ~ $ df ...
Krzysztof Stanisławek's user avatar
5 votes
1 answer
5k views

Will mounting /tmp with noexec and nosuid cause problems? [duplicate]

I plan to use this line in /etc/fstab on Ubuntu a 14.04 server running LAMP: /run/shm/tmp tmpfs nosuid,nodev,noexec,size=8G 0 0 My question is, does anyone know if I will create problems by ...
dwarfplanet9's user avatar
2 votes
1 answer
5k views

Is uploading files in default /tmp folder an security vulnerability?

I am running Ubuntu with apache on a server. I want to experiment with uploading files to the server using POST. In php.ini you can set the folder to use when uploading files. The default is to use ...
user avatar
2 votes
1 answer
141 views

found maas user directory in tmp?

I am somewhat new to servers, and even more fresh when it comes to Ubuntu. I am looking on my Ubuntu folder and found a directory owned by a user maas... drwx------ 2 maas maas 4096 Dec 22 00:26 ...
Jeff Tola's user avatar
0 votes
2 answers
2k views

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 /...
Matt Caswell's user avatar
  • 2,250
10 votes
2 answers
25k views

Best way to mount /tmp in fstab?

What is the best way (options, those numbers on the end) to mount a /tmp partition in /etc/fstab in terms of security and speed on a desktop (laptop) computer (read: not server)? I've heard about ...
Juraj Fiala's user avatar
1 vote
1 answer
456 views

Why does e-cryptfs keep filling up /tmp?

For some stupid reason Ubuntu 14.10 is now filling up /tmp with files. There are millions. dmesg shows me thousands of lines like this, [15686.146977] ecryptfs_create: Failed to create file inlower ...
Evan Carroll's user avatar
  • 7,524
0 votes
1 answer
2k views

Move /tmp (ssd) to /home (hhd)

I have an SSD (256gb) with two partitions, one of the with Ubuntu. I also have an HDD with /home and a partition for data (music, videos, etc). I would like to move /tmp (on the ssd) to /home (on the ...
aripod's user avatar
  • 1
-5 votes
1 answer
79 views

Why system assigns a "volume name" for a binded "/tmp"? [duplicate]

(The problem is found on: KUbuntu 13.10) Initially /tmp is not binded. System has a volume with a label "Vol_2" (e.g., /dev/sda2). A user logs in. The user mounts the volume "Vol_2" to /media/Vol_2 (...
ChapaikinVA's user avatar