Questions tagged [tmp]

The tag has no usage guidance.

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

Can’t cd /tmp directory when this code is used cd /tmp is says no directory

Finding it different to open temporarily directory please help
0
votes
1answer
28 views

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

Android Studio SetUp Wizard: no space left on device

I have the latest version of Ubuntu. I tried these but did not work: sudo mount -o remount,size=8G /tmp/ TMPDIR=HOME/user/downloads studio.sh
0
votes
0answers
48 views

** socat[8592] E connect(5, AF=1 “\0/tmp/dbus-6LCOz2lgUY”, 23): Connection refused**

I am a BEGINNER with Ubuntu (Linux). I am trying to create an independant network namespace (that I downloaded here : https://github.com/Lekensteyn/netns) in order to capture Internet traffic without ...
1
vote
0answers
40 views

How to clean up files in a systemd privatetmp tmp folder

I am supporting a Web App that writes files to /tmp. This runs in Nginx via systemd with the default nginx systemd config file that has PrivateTmp=yes set. That makes a private systemd-private-* ...
1
vote
1answer
63 views

Is it safe to delete folders from /tmp in Ubuntu

I have a ubuntu in which disk is getting full. When I checked the disk usage, I noticed that most of the disk was getting used in /tmp folder. When I opened the /tmp folder, I realized, it has folders ...
2
votes
1answer
81 views

Is mount filesystem as /tmp delete filesystem content?

I made a bad mistake .I mounted a /dev/sda2 as /tmp folder in Ubuntu 20.04 LTS. I think this filesystem /dev/sda2 is a part of logical partition. lsblk result before mount: then Ubuntu won't boot ...
1
vote
0answers
170 views

Disk space getting used up but clears on reboot

I have a server running ubuntu 20.04 If I run df the first line is: /dev/root 35511052 3512708 31981960 10% / run 2 seconds later i get /dev/root 35511052 3512900 31981768 10% / ...
0
votes
0answers
152 views

Change temp file location of QGIS in Ubuntu

on a windows machine u can easily change the location where QGIS stores its temp files (see here: https://gis.stackexchange.com/questions/156129/how-can-i-change-the-folder-location-for-qgis-temporary-...
0
votes
1answer
103 views

Is the /tmp some special?

Ubuntu 18.04 / on ext4 I create a file in /tmp by php script. Ok, I see it by cat. But php file_exists() on another script return FALSE. I create a file in /var/www by the same script. Yes! ...
0
votes
1answer
46 views

incron job does not write to temp directory

I have a very weird problem that I might not have cooked down correctly, but I tried a minimal example: In a 20.04 lxd container on 20.04, I am trying to run a job triggered by incron. For my minimal ...
0
votes
0answers
83 views

How to stop /tmp/tmux-1000 from getting cleaned

I'm having a problem on Ubuntu 16.04. I'm running tmux 2.9 (installed from source), which needs a socket which is saved in /tmp/tmux-1000 (by default, at least for the first server). The problem that ...
7
votes
1answer
1k views

How to allow snap applications to access /tmp folder?

Usually I'm avoiding snap-based applications, but sometime I need them. For example - Markdown Lint Tool is shipped only as Snap named mdl. It works great when files are in home folder - $ echo "...
0
votes
0answers
708 views

How to change directory of where temporary files are stored

I'm trying to move my temp directory from home/user to the /tmp directory in root. I've tried using export TMPDIR=/tmp but it defaults back to my home directory after reboot.
2
votes
1answer
914 views

Is the `size` parameter for tmpfs in fstab not working?

I am confused about whether my /tmp using tmpfs is respecting the size parameter that I gave to it in /etc/fstab: My fstab entries now read: root_pool/var/tmp /tmp /var/tmp zfs rw,nodev,nosuid 0 0 ...
2
votes
2answers
255 views

Accidentally moved `/tmp` - replacements won't persist

I did sudo mv /tmp /var/lib/apt/lists not realizing that it would move the whole folder and not just the contents. I since do (as suggested in Accidentally deleted tmp folder) sudo mkdir -m 1777 /tmp ...
0
votes
1answer
117 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 ...
4
votes
0answers
120 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? ...
1
vote
0answers
74 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 ...
2
votes
1answer
125 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
75 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
350 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 ...
3
votes
0answers
494 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
208 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
224 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
65 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
1answer
122 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 ...
2
votes
1answer
3k 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
704 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/...
13
votes
5answers
5k 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 ...
8
votes
0answers
425 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
553 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
3k 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
130 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?
9
votes
1answer
11k 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
240 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
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-...
2
votes
0answers
414 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)...
1
vote
0answers
368 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 ...
1
vote
1answer
202 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 ...
2
votes
1answer
127 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
86 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. ...
1
vote
1answer
111 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
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. ...
3
votes
1answer
2k 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
401 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
568 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
1answer
443 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
379 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, ...