Questions tagged [tmp]

The tag has no usage guidance.

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

Can someone help me either to extend /dev/sda2 partition or to reroute stuff to other partitions?

enter image description hereI often get a message saying 'unable to write to /tmp' as /dev/sda2 run out of space. I don't have any free space left to create a logical volume. I was wondering if I ...
user avatar
-1 votes
0 answers
26 views

Why python script is consuming a lot of /tmp spac on my server?

I am new to python coding. I am trying to scrape some product price in Target using Selenium chrome driver in Python. It will also keep inputting zip codes and scrape new prices. And i expected the ...
user avatar
0 votes
2 answers
36 views

/tmp: Scheme missing, same error even when I create a "tmp" folder. What exactly is the problem and how do I fix this?

so i am trying install maven following the steps on this website for "Step 2: Download and Install Maven": https://phoenixnap.com/kb/install-maven-on-ubuntu and i get the following error: /...
user avatar
0 votes
1 answer
37 views

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 ...
user avatar
1 vote
0 answers
60 views

/tmp file gets full every 2,3 days and website stops working

I am new to code and have hosted my website on a dedicated server using Ubuntu 20.04. I have installed Cyber Panel to manage my website. But after 2~3 days my website stopped working and when I check ...
user avatar
0 votes
0 answers
113 views

VERY lengthy boot time after updating...relates with 'Create Volatile Files and Directories' and /TMP, perhaps?

All was well until a recent updating session for 20.04.3 demanded a reboot. Wow - it seemed to be sitting idle, but pressing esc to get details revealed: "A start job is running for Create ...
user avatar
  • 181
2 votes
1 answer
173 views

Why does a particular directory always exist in /tmp even after reboots?

I am using Ubuntu 20.04.3. I remember in the past creating a directory /tmp/myWork. I usually work on that directory: downloading files, saving temporary files while working on some software, etc. ...
user avatar
0 votes
1 answer
295 views

How to mount /tmp to another directory to increase memory

My /tmp directory is now at capacity and I want to increase the available memory: df -h /tmp Filesystem Size Used Avail Use% Mounted on /dev/nvme0n1p3 59G 54G 2.1G 97% / To try and do ...
user avatar
0 votes
0 answers
22 views

Can't access files from one program in another

This must be some snapcraft thing, but I can't access files in tmp and it's making me crazy. If I take a screenshot, save it to /tmp, and then try to open that file in Firefox, it's like it doesn't ...
user avatar
  • 2,113
0 votes
0 answers
64 views

When I use RAM storage for the /tmp directory some programs failed to run, how to solve the issue?

I use the solution provided in https://askubuntu.com/a/173294/ to use RAM storage for the /tmp directory: code 1: tmpfs /tmp tmpfs defaults,noatime,nosuid,nodev,noexec,mode=1777,size=512M 0 0 But ...
user avatar
  • 141
0 votes
1 answer
81 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 ...
user avatar
0 votes
0 answers
281 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 ...
user avatar
1 vote
0 answers
182 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-* ...
user avatar
1 vote
1 answer
505 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 ...
user avatar
  • 414
1 vote
1 answer
499 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 ...
user avatar
1 vote
0 answers
493 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% / ...
user avatar
0 votes
0 answers
396 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-...
user avatar
0 votes
1 answer
238 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! ...
user avatar
1 vote
1 answer
111 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 ...
user avatar
  • 209
13 votes
2 answers
3k 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 "...
user avatar
  • 89.6k
0 votes
0 answers
1k 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.
user avatar
  • 1
3 votes
1 answer
2k 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 ...
user avatar
2 votes
2 answers
381 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 ...
user avatar
  • 727
0 votes
1 answer
299 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 ...
user avatar
  • 215
4 votes
0 answers
442 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? ...
user avatar
  • 41
1 vote
0 answers
234 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 ...
user avatar
3 votes
1 answer
192 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 ...
user avatar
  • 151
0 votes
0 answers
630 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)...
user avatar
0 votes
2 answers
846 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 ...
user avatar
5 votes
1 answer
853 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 ...
user avatar
  • 549
0 votes
1 answer
327 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 ...
user avatar
0 votes
0 answers
24 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.
user avatar
1 vote
0 answers
515 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 ...
user avatar
1 vote
0 answers
100 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 ...
user avatar
  • 863
0 votes
1 answer
259 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 ...
user avatar
3 votes
1 answer
4k 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 ...
user avatar
  • 373
5 votes
2 answers
1k 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/...
user avatar
13 votes
5 answers
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 ...
user avatar
  • 455
9 votes
0 answers
486 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?
user avatar
  • 1,795
3 votes
0 answers
613 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 ...
user avatar
  • 93
3 votes
2 answers
4k 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 ...
user avatar
0 votes
0 answers
135 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?
user avatar
  • 1,113
9 votes
1 answer
14k 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 ...
user avatar
1 vote
0 answers
350 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-...
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-...
user avatar
  • 165
2 votes
0 answers
528 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)...
user avatar
2 votes
0 answers
556 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 ...
user avatar
  • 21
1 vote
1 answer
217 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 ...
user avatar
2 votes
1 answer
132 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 ...
user avatar
  • 31
0 votes
0 answers
91 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. ...
user avatar