Questions tagged [tmp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
19 views

How to remove /tmp/ partition and keep it in RAM?

I made a /tmp parition alongside partitions for / /home /root /var and /boot. It was a mistake to make a partition to tmp/. Is there a way for tmp/ to use RAM instead of the designated space I made on ...
1
vote
0answers
37 views

tmp directory in $HOME with behavior like /tmp

TL;DR: How can I set up either via a bash command executed as user or a bash command executed only once as sudo a temporary directory in $HOME which has the same behavior as the global /tmp directory? ...
0
votes
0answers
10 views

where to find tmp/setup folder in ubuntu?

I want to put a file down there to use it in my docker file build. I prefferably want to do it with gui, not shell. Just drop a file.txt in tmp/setup.
1
vote
0answers
32 views

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 ...
1
vote
1answer
61 views

How to make snaps see the real /tmp?

I'm again and again getting annoyed by the fact that snaps don't see the "real" /tmp. One example why this is bad is that I'm unable to use "Open with -> Xournalpp" with PDFs from email attachments ...
0
votes
0answers
32 views

Ubuntu does not start due to too little disk space

In my computer I have 2 disks. I have one that runs Windows 10 and one that has Ubuntu on it. I also have a partition for my personal files (this is mainly used by Windows so it is a NTFS file system)...
0
votes
2answers
55 views

Disk is full but cannot find large files

I was running a bash script which created a 14G file in the tmp directory , I deleted it still I cant find the directory or file which is large. My output for df -h Filesystem Size Used ...
1
vote
0answers
68 views

VLC won't play video from /tmp directory

I have a video located at /tmp/example.mp4. When I try to play it with VLC I get the following error: Your input can't be opened: VLC is unable to open the MRL 'file:///tmp/example.mp4'. Check ...
0
votes
1answer
49 views

What is removing files under /tmp on an ~hourly basis? [closed]

On the timescale of one hour, something is removing files that I create in /tmp. What removes the files? Alternatively, how might I find out? My /etc/cron.hourly directory is empty except for a ...
0
votes
0answers
22 views

this file change its name every second :

tmp/systray_WXh70Y tmp/systray_k4M7n1 tmp/systray_sqBFYf one file in tmp folder change its name every second. it is valid file or not.
1
vote
1answer
64 views

Size of /tmp folder keeps on increasing [closed]

I have a ubuntu 14.04 virtual machine on azure, with a OS disk of size 30 GB. If I keep the machine running for several days, the size of the /tmp folder increases upto 21 GB, and adding up other ...
1
vote
0answers
58 views

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 ...
0
votes
0answers
35 views

Why is apache2.conf.swp inside /var/tmp more than 6GB?

I recently created my AWS instance with UBUNTU setup. The website is all live and was running fine for a day or so. However after a day when I open, it kept loading for several minutes. So I somehow ...
1
vote
1answer
996 views

How would I place the Chromium cache on tmpfs (ram)?

Some background: Today I have realized that my system SSD is almost full (90% full) for the /home dir. I have realized that the main culprit is (are) the 77 chromium profiles that I use on my ...
2
votes
2answers
273 views

How to remove files hidden under /tmp mountpoint?

I recently created a RAM /tmp by adding this to /etc/fstab: tmpfs /tmp tmpfs rw,nosuid,nodev,noatime 0 0 Everything works fine, and in theory the system runs faster now, but at boot time /var/...
0
votes
0answers
34 views

Cleaning up /tmp directory from resque system

I need to clean up my /tmp directory from resque system (hetzner) but I don't know how to mount /tmp directory. Can you please help me? root@rescue ~ # ls /dev/[hsv]d[a-z]*[0-9]* /dev/sda1 /dev/sda4 ...
13
votes
5answers
2k views

files created then deleted at every second in tmp directory

By mistake I noticed that in /tmp directory are continuously created some files then immediately deleted. Using a succession of ls -l /tmp I managed to catch the created files: -rw------- 1 root ...
7
votes
0answers
345 views

How to open files in /tmp with snap applications

I thought running something like snap connect app_name:/tmp would work but it didn't. Is there any way to accomplish this?
2
votes
0answers
433 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 ...
2
votes
2answers
2k 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
120 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?
6
votes
1answer
7k 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
175 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
769 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
301 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
221 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
133 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 ...
2
votes
1answer
122 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
78 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
86 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
1k 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. ...
3
votes
1answer
1k 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
372 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
512 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
49 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
288 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
273 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
82 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 ...
2
votes
1answer
85 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
3k 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
14k 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
169 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 ...
3
votes
1answer
113 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
54 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
224 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
54 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
468 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
946 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
368 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
52 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? ...