Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tmp]

The tag has no usage guidance.

0
votes
0answers
15 views

How to save more space?

I have my server running and notice that my disk space accumulated overtime below is the list of usage: node@server:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/root 20G ...
0
votes
0answers
60 views

Display goes randomly black in Ubuntu 18.04

Ever since I installed Ubuntu 18.04 on my EliteBook 820 g1 (refurbished), I'm experiencing a very annoying problem. Ever so often, the display randomly shuts down, while the backlight stays on. The ...
0
votes
0answers
32 views

GUFW is Not Launching on Ubuntu 18.04

I got this error message when trying to open this application I have already closed out from: "Gufw is already running. If this is wrong, remove the file: /tmp/gufw.pid" How should I fix this?
0
votes
0answers
22 views

Screen sessions being terminated

I'm new to all of this so might be a stupid question. I'm using screen on Ubuntu to try and use 60 screens at the same time for a game. I have all 60 setup and working properly, however after about ...
2
votes
2answers
206 views

which process cleans /tmp under systemd on 18.04LTS? (answered here, no duplicate) [duplicate]

There is no /etc/default/rcS anymore on my ubuntu 18.04 server (no GUI) I had set TMPTIME=20 and after the upgrade from 16.04 this seems to be reverted to a much shorter time. How can I customize the ...
0
votes
0answers
40 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?
0
votes
1answer
1k 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 ...
1
vote
0answers
75 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-...
0
votes
1answer
414 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-...
2
votes
0answers
119 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)...
0
votes
0answers
123 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 ...
0
votes
1answer
71 views

Downloading windows 10 virtual machine always fail

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 ba able to download ...
3
votes
1answer
118 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 ...
0
votes
0answers
68 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. Should I ...
1
vote
0answers
38 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:
1
vote
0answers
800 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. ...
1
vote
1answer
785 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?
0
votes
0answers
268 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 ...
0
votes
0answers
304 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 ...
0
votes
0answers
44 views

How can I increase the size of /tmp? [duplicate]

When I run du -sh / tmp it seems that the maximum capacity of the /tmp folder is 100MB. Capacity is automatically reduced when 100mb is exceeded. I want to increase the maximum capacity of the /...
0
votes
1answer
99 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?
0
votes
1answer
159 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, ...
2
votes
2answers
64 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 ...
3
votes
1answer
48 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 ...
2
votes
1answer
2k 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 ...
11
votes
1answer
11k 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 ...
0
votes
1answer
135 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 coördinator 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 ...
4
votes
1answer
94 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 ...
0
votes
1answer
51 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.
1
vote
1answer
149 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 ...
0
votes
1answer
43 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,...
0
votes
0answers
338 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 ...
0
votes
1answer
523 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 ...
0
votes
1answer
353 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 ...
1
vote
0answers
42 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? ...
0
votes
1answer
230 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 ...
1
vote
1answer
2k 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 ...
0
votes
1answer
122 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. ...
3
votes
1answer
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% / ...
0
votes
1answer
119 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 ...
0
votes
1answer
44 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 ...
0
votes
1answer
83 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 ...
4
votes
2answers
7k 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 ...
0
votes
2answers
61 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 ...
0
votes
1answer
145 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 ...
2
votes
1answer
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'...
3
votes
1answer
416 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 ...
0
votes
1answer
1k 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 ...
2
votes
1answer
3k views

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

I plan to use this line in /etc/fstab on Ubuntu 14.04 server (LAMP configured): /run/shm/tmp tmpfs nosuid,nodev,noexec,size=8G 0 0 My question is, does anyone know if I will create problems by ...
2
votes
1answer
3k 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 ...