Skip to main content

Questions tagged [tmp]

The tag has no usage guidance.

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

Is there a way to relocate all data traffic to/from /tmp to /dev/shm/tmp? [duplicate]

Is there a way to relocate all data traffic to/from /tmp to /dev/shm/tmp? The performance of the RAM is always faster than the SSD. Furthermore, /tmp is used to store short-term temporary files. For a ...
Sun Bear's user avatar
  • 2,432
0 votes
0 answers
176 views

firefox 119.0 that came with 22.04 won't open files in /tmp

The firefox 119.0 that came with 22.04 won't open files in /tmp file:///tmp/foo.html Problem loading page File not found Firefox can’t find the file at /tmp/foo.html. but it is there! % ls -l /tmp/...
Ian Macky's user avatar
0 votes
1 answer
2k views

All users getting "error creating /tmp//tmux-1003 (Permission denied)" when using tmux

tmux used to work, but i forgot exactly what I did on the server to cause all users to not being to use tmux. I'm getting the errors for 2 different users: error creating /tmp//tmux-1003 (Permission ...
Patoshi パトシ's user avatar
0 votes
1 answer
245 views

Why am I getting errors in apt after I deleted and then re-created `/tmp`, `/var/tmp`, and `/var/log`?

Why am I getting an error after running the following commands? sudo rm -r /tmp sudo rm -r /var/tmp sudo rm -r /var/log sudo mkdir /tmp sudo mkdir /var/tmp sudo mkdir /var/log sudo apt update Error ...
Downvoter's user avatar
0 votes
1 answer
6k views

How to fix: "No Space left on device" on /tmp

I'm facing an issue where my program won't compile due to no device space in the /tmp folder. After a little examine and deleting all files on tmp it stills shows me the same error: after system ...
Kali C's user avatar
  • 11
0 votes
0 answers
1k views

Trying to run R gave me "Fatal error: cannot create 'R_TempDir' "

I checked partition for /tmp and it seems to be full. >> df /tmp Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 23854928 23579092 0 100% / Checking all the ...
Max's user avatar
  • 19
5 votes
1 answer
127 views

Most of the entries in the NAME column of the output from lsof +D /tmp do not begin with /tmp. Why is this the case?

I'm part of a lab that has a shared scientific computing enviornment. My system administrator just told everyone in the lab that one of the nodes I am using is about to crash because /tmp is full. I ...
Conor Igoe's user avatar
2 votes
1 answer
582 views

If `/tmp` is a symbolic link, it isn't wiped on reboot

On Ubuntu Server 22.04, I have an SSD mounted on /scratch. I replaced /tmp with a symbolic link to /scratch/tmp so that temporary files are stored on the SSD: $ ls -l /tmp lrwxrwxrwx 1 root root 12 ...
Kodiologist's user avatar
2 votes
1 answer
2k views

Current Method to Mount /tmp in 22.04 and Newer with noexec

I've read various other questions and answers and all of the guidance for mounting or changing the mount options for /tmp involve /etc/fstab or /etc/systemd/system/local-fs.target.wants/tmp.mount. ...
Utkonos's user avatar
  • 169
0 votes
1 answer
35 views

Use liveUSB to access main SSD Kubuntu files?

I had an issue with /tmp becoming full preventing me from opening Kubuntu because of an xsession error). I used a liveUSB but I'm unable to access my persistent files from the main Kubuntu install. ...
user1649676's user avatar
0 votes
1 answer
167 views

My .desktop app runs from /tmp/ folder, how to set an icon for it?

How to change an icon for file that runs from /tmp/ folder? Run command: .home/username/apps/eDEX-UI-Linux-x86_64.AppImage/ --disable-gpu-sandbox Running app command: /tmp/.mount_eDEX-U8YAX2V/edex-ui -...
Brave's user avatar
  • 31
0 votes
0 answers
215 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 ...
Jason Alexander's user avatar
-1 votes
2 answers
843 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: /...
RocketEngineerStudent's user avatar
-1 votes
1 answer
830 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 ...
Estatistics's user avatar
1 vote
0 answers
556 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 ...
zeeshan akram's user avatar
0 votes
0 answers
973 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 ...
mark's user avatar
  • 311
2 votes
1 answer
700 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. ...
Amazigh_05's user avatar
0 votes
1 answer
2k 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 ...
A_Murphy's user avatar
0 votes
0 answers
24 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 ...
mlissner's user avatar
  • 2,293
0 votes
1 answer
322 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 ...
Lorenzo Teran Romero's user avatar
0 votes
0 answers
726 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 ...
Doua Hugues Zemi's user avatar
1 vote
0 answers
596 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-* ...
Kevin Runde's user avatar
1 vote
1 answer
3k 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 ...
S Andrew's user avatar
  • 494
1 vote
1 answer
1k 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 ...
Mohamed Okasha's user avatar
1 vote
0 answers
1k 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% / ...
Matthew Cornelisse's user avatar
0 votes
0 answers
789 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-...
MsGISRocker's user avatar
0 votes
1 answer
571 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! ...
Vladimir Kalachikhin's user avatar
1 vote
1 answer
312 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 ...
mcandril's user avatar
  • 241
21 votes
2 answers
8k 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 "...
N0rbert's user avatar
  • 101k
0 votes
0 answers
3k 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.
Hat's user avatar
  • 101
5 votes
1 answer
6k 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 ...
Stonecraft's user avatar
2 votes
2 answers
517 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 ...
user2740's user avatar
  • 1,117
0 votes
1 answer
676 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 ...
mikanim's user avatar
  • 265
4 votes
1 answer
2k 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? ...
Vanessa's user avatar
  • 41
1 vote
0 answers
773 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 ...
Alexey Abraham's user avatar
3 votes
1 answer
406 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 ...
Jasper's user avatar
  • 191
0 votes
0 answers
2k 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)...
AdamVarga's user avatar
0 votes
2 answers
2k 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 ...
Joel Deleep's user avatar
6 votes
1 answer
2k 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 ...
a_guest's user avatar
  • 619
0 votes
1 answer
500 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 ...
Croad Langshan's user avatar
0 votes
0 answers
29 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.
Abhishek Jain's user avatar
1 vote
0 answers
930 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 ...
Sameer Keluskar's user avatar
1 vote
0 answers
149 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 ...
beruic's user avatar
  • 865
0 votes
1 answer
498 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 ...
Yaseen Hussain's user avatar
3 votes
2 answers
7k 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 ...
AlexN's user avatar
  • 493
5 votes
2 answers
2k 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/...
Ray Butterworth's user avatar
13 votes
5 answers
6k 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 ...
Adrian's user avatar
  • 547
10 votes
0 answers
578 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?
dsSTORM's user avatar
  • 1,870
3 votes
0 answers
656 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 ...
Xartab's user avatar
  • 113
3 votes
2 answers
5k 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 ...
user333869's user avatar