Questions tagged [tmp]
The tmp tag has no usage guidance.
143
questions
0
votes
1
answer
81
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 ...
0
votes
1
answer
91
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 ...
0
votes
1
answer
1k
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 ...
0
votes
0
answers
370
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 ...
5
votes
1
answer
120
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 ...
2
votes
1
answer
445
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 ...
1
vote
1
answer
737
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. ...
0
votes
1
answer
34
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.
...
0
votes
1
answer
135
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 -...
0
votes
0
answers
119
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 ...
-1
votes
2
answers
578
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: /...
-1
votes
1
answer
554
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 ...
1
vote
0
answers
384
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 ...
0
votes
0
answers
591
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 ...
2
votes
1
answer
330
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.
...
0
votes
1
answer
1k
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 ...
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 ...
0
votes
1
answer
240
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
0
answers
620
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
0
answers
468
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
1
answer
2k
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 ...
1
vote
1
answer
900
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
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% /
...
0
votes
0
answers
641
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
1
answer
495
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! ...
1
vote
1
answer
254
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 ...
21
votes
2
answers
7k
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
0
answers
2k
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.
4
votes
1
answer
4k
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
2
answers
467
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
1
answer
543
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
1
answer
1k
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
0
answers
574
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 ...
3
votes
1
answer
340
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
0
answers
1k
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
2
answers
1k
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 ...
5
votes
1
answer
1k
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
1
answer
458
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
0
answers
27
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
0
answers
832
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
0
answers
119
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
1
answer
402
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 ...
3
votes
2
answers
5k
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 ...
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/...
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 ...
10
votes
0
answers
544
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?
3
votes
0
answers
639
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 ...
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 ...
0
votes
0
answers
138
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?
10
votes
1
answer
17k
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 ...