Questions tagged [tmp]

The traditional name of directories (especially on Unix and Unix-like operating systems) used to store temporary files. Also, the filename extension of temporary files.

317 questions
0
votes
0 answers

Composer: How to Free up huge amounts of disk space used by composer (gigs)?

I wanted to know what is taking up so much disk space on my vps and noticed that /tmp-composer and /.composer folders at the root of my account are taking up a lot of disk space. /tmp-composer alone is taking up over 3 gigs. I've searched for…
StoryTech
  • 27
  • 1
  • 5
0
votes
0 answers

How to read data from TempNam php

Hi I was wondering how to read the contents of a tempname file? I cant seem to access the data added in the example below. $tmpfname = tempnam("/tmp", "testfile"); $handle = fopen($tmpfname, "w"); fwrite($handle, "I stored data"); echo…
0
votes
1 answer

How to allow tea4cups runing from cups backend to write in tmp directory?

I followed the Tea4cups install procedure, and adapt it to a Mac OS High Sierra. It's running CUPS 2.2.5. I'm having issue when trying to write in /tmp directory (it's a symlink to /private/tmp/ directory. Tried to change tmp directory permission,…
0
votes
3 answers

AWS CakePHP - tmp directory needs to be writeable

I have a server set up on AWS and i ahve deployed my application to it, like i have done many time to other servers. After turning core.php debug to 2, the following error showed Warning: /var/www/html/XXX/XXX/app/tmp/cache/persistent/ is not…
Pooshonk
  • 1,284
  • 2
  • 22
  • 49
0
votes
2 answers

Why does Ruby on Linux return true to File.writable?('/tmp/file') but raises Errno::EACCES while trying to write the file?

I am using a GNU/Linux system. Firstly, I have: Moved to the /tmp/ directory. Created a file called ruby.rb as a non-root user. Opened irb as su user. Now in IRB: ┌┄┄[root::archlinux]┈[/tmp] └──╼⮚ irb irb(main):001:0> File.writable?('ruby.rb') =>…
15 Volts
  • 1,946
  • 15
  • 37
0
votes
0 answers

Errno 2: No such file or directory: 'C:\\tmp\\cat.log'

I run Concept Annotation Tool (CAT) using Docker and then I installed it in the same way as in the following website: https://libraries.io/pypi/medcat These steps were successful. Then I wanted to implement it in my Python code. When I run the code…
Alan
  • 129
  • 1
  • 13
0
votes
1 answer

php - check to see if a session file exists on server

I've just encountered a problem. I store session ids in a cookie to retrieve the basket info when a user leaves a site and then comes back again. My problem being that as a test i cleared all sessions but kept the cookie but now the page just…
Phil Jackson
  • 10,238
  • 23
  • 96
  • 130
0
votes
1 answer

Using mysql INTO OUTFILE in web application context

I want to export data from mysql quickly to an output file. As it turns out, INTO OUTFILE syntax seems miles ahead of any kind of processing I can do in PHP performance wise . However, this aproach seems to be ridden with problems: The output file…
Nonetallt
  • 352
  • 2
  • 11
0
votes
2 answers

scp permission denied in /tmp directory

When I copy a file using scp from a remote location to the /tmp/ directory in local machine, it is successful. However, when I copy another file using scp from the same machine(i.e. remote and local machines are same), I am getting the 'Permission…
Krishna Chaurasia
  • 8,924
  • 6
  • 22
  • 35
0
votes
1 answer

QIIME2 on Docker : no space left on device (although there is)

I want to analyse data with QIIME2 on a Docker container. Note that this is my first time with Docker. I created the image and then the container, and started to analyse a small subsample of data with success. However, one step of the pipeline…
Flamingo
  • 1
  • 2
0
votes
0 answers

Why does laravel say that the file not exist when uploading with tempnam(sys_get_temp_dir(),'')

I am using laravel with my project. I try to put the generated file in the tmp folder before it gets downloaded. Somehow it says that the file is not in the tmp folder. So I think I am not putting the file in this folder. That is only because it…
MissesA
  • 145
  • 1
  • 11
0
votes
3 answers

TextMeshPro can not be resolved as a class in visual studio

I start to use TextMesh Pro in unity3D 2018 to render text and it works well when I set it up in inspector. But by the time I try to reference it in the script in visual studio 2017, I find the vs always warn me there is no such a class. Could…
jeep
  • 615
  • 2
  • 10
  • 19
0
votes
0 answers

Retrieve file from temp on live server

I have a file stored in temp folder. In localhost, when I run the following function: $return_res = $documentRetrieved->getPathname(); I get back: C:\Windows\Temp\A2C2.tmp While in live server with the same code, I get: /tmp/cdbQpa When i run…
CloudSeph
  • 863
  • 4
  • 15
  • 36
0
votes
1 answer

Accidentally delete /tmp in Weblogic 12c, does it affect the application?

I accidentally delete /tmp in Weblogic 12c, does it affect the application performance or functionality?
0
votes
1 answer

AWS Lambda. Error=20 (Not a directory) when moving FFmpeg to /tmp

I am using the ffmpeg-cli-wrapper to run FFmpeg from an application I upload onto AWS lambda. I was initially getting the error=13 Permission Denied when trying to call it via the wrappers ProcessBuilder. My inital solution was to chmod 755…
Omar Riaz
  • 1
  • 1