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
4
votes
1 answer

boost spirit: What type names should be used for the built in terminals?

I am refactoring a typing system (type model) I have in place that uses spirit for string-serialization. I am using the compile-time modeling construct of type-traits. template<> type_traits { typedef…
Hassan Syed
  • 20,075
  • 11
  • 87
  • 171
4
votes
2 answers

Ruby on rails, forcing the user to download a tmp file

I've created a file in the tmp directory with the following controller code: def download file_path = "#{RAILS_ROOT}/tmp/downloads/xxx.html" data = render_to_string( :action => :show, :layout => nil ) File.open(file_path, "w"){|f| f <<…
CafeHey
  • 5,699
  • 19
  • 82
  • 145
4
votes
1 answer

tmp folder in apache is getting full with files named /tmp/php*. How can I find which session or file is creating them?

my server tmp folder (capacity of 4GB) gets full very fast (within a few hours). There are some small session files in there, but the ones which take up all the space are files named "php[UNIQUE_CODE]". I already changed in php.ini both the…
4
votes
1 answer

Swift - Saving and retrieving images to the tmp-folder

I want to save and then later retrieve the images I'm saving to my tmp folder, this is my first time using the file-system so please bear with me if I'm hopeless. Right now, I'm saving the images that are being retrieved like this: let userImageFile…
martin
  • 1,894
  • 4
  • 37
  • 69
4
votes
1 answer

Cakephp tmp directory: Cache and Session Folders

Can someone please explain to me what kind of data is stored in these directories? For example, I have an active session (with auth) now but the sessions directory is empty? What exactly is stored in the folders (models, persistent, views) within…
BIOS
  • 1,655
  • 5
  • 20
  • 36
3
votes
1 answer

How can I create tmp folder in lua?

How can I create temporary folder in lua? I mean, like that i can create tmp file with os.tmpname , I looking for a way to create temporary directory.
3
votes
0 answers

How to add a **OUTER POSITIONED** outline to Text Mesh Pro in Unity?

I'm looking to find a way to add an outside positioned outline to TMP in Unity. At the moment what I have right now using the outline property gives me an awkward and ugly center position outline. First image is what I want to achieve and second is…
3
votes
1 answer

Are files from /tmp automatically deleted by AWS Lambda?

Does AWS clear the /tmp directory automatically? Is there a flush() sort of function? If not, how can I remove/delete all the files from the /tmp folder? I have an AWS Lambda function where I download a file to my /tmp folder. I unzip the zipped…
x89
  • 2,798
  • 5
  • 46
  • 110
3
votes
3 answers

PHP tmp upload directory for multlple domains

I am hosting multiple domains on my Apache Web Server on Ubuntu 18.04 but I cannot set the tmp upload directory for PHP. I tried putting this in my .htaccess for one of the domains, however nothing was stored when I tested. php_value upload_tmp_dir…
devwk
  • 372
  • 2
  • 14
3
votes
0 answers

Visual Studio Mac Azure Functions Permission denied

I try to run a simple Azure function on my Visual Studio for mac, and I get an error stating permission denied to the tmp file (that I assume is the file VS creates to simulate the local storage) Error looks like this: Blockquote Error: Unable to…
3
votes
2 answers

Unable to read from temporary file

I'm trying to invoke an external process which writes to a temporary file which I obtain with withSystemTempFile. After the process exits, I'm able to cat the content of that file, but the application itself fails with openFile: resource busy (file…
mjarosie
  • 3,228
  • 2
  • 20
  • 31
3
votes
2 answers

How to change the temporary used directory by sqoop-import?

I've been using a sqoop-import command like this: sqoop import --connect jdbc:oracle:thin:@${machine}:${port}/${schema} --username ${user} --password ${pw} --table "${table}" --columns "${cols}" --where "${machine}" --m 1 --fields-terminated-by ';'…
David
  • 33
  • 4
3
votes
1 answer

Snakemake: how to realize a mechanism to copy input/output files to/from tmp folder and apply rule there

We use Slurm workload manager to submit jobs to our high performance cluster. During runtime of a job, we need to copy the input files from a network filesystem to the node's local filesystem, run our analysis there and then copy the output files…
Matthias Munz
  • 3,583
  • 4
  • 30
  • 47
3
votes
1 answer

huge amount of +~JF****.tmp files in /var/cache/tomcat7/temp

In my tomcat temp folder, I have 2.5Gb of +~JF****.tmp files, the file sizes are either ~750K or ~23M $ pwd /var/cache/tomcat7/temp $ ls -lt -rw------- 1 tomcat tomcat 23278008 06:47 5 Th08 +~JF2247741302721424357.tmp -rw------- 1 tomcat tomcat …
Dzung BUI
  • 188
  • 2
  • 9
3
votes
0 answers

os.mkdir() and os.makedirs() fail to create directory inside /tmp yet no exception is raised

Using Python 2.7 on 32bit Xubuntu 14.04 LTS I'm struggling with this issue for two days now. So far I have tried using umask, chmod and what not. The results is always the same - failure to create a directory. Here is a snippet from my…
rbaleksandar
  • 8,713
  • 7
  • 76
  • 161