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

Tomcat Server creating Directories in tmp

Everytime my embedded virtual tomcat server is ran (spring boot) it creates a directory structure in /tmp/ that is named tomcat.##########################.8080 (I am guessing 8080 is for port or something but the 8080 is consistent). This structure…
user3684399
  • 165
  • 2
  • 9
12
votes
3 answers

Why are RackMultipart* files persisting in my Rails /tmp directory?

I'm using Paperclip (2.3) to handle image uploads on a Rails 3.0.3 app running on Ubuntu. Paperclip is handling the uploads as advertised BUT the RackMultipart* files that are created in the application's /tmp folder persist -- that is, they simply…
NAD
  • 615
  • 1
  • 7
  • 20
12
votes
1 answer

boost::spirit composing grammars from grammars

I have figured out how to use spirit -- i.e., I have written a moderately complex grammar. I always take the approach of growing a program -- one subsystem at a time. I've written the data structures for a complex model which has 4 types at the…
Hassan Syed
  • 20,075
  • 11
  • 87
  • 171
11
votes
1 answer

FFMPEG cannot read files in /tmp/ on Heroku

I created a nodejs application hosted on heroku which uses imagemagick. I am doing this operation: require('child_process').exec(`convert -quiet -delay 1 output.avi ${gif}`); This should convert output.avi (which is present) to a gif file. In this…
Tvde1
  • 1,246
  • 3
  • 21
  • 41
11
votes
6 answers

Is it possible to show a image that is in a tmp folder before upload?

I want to show the user a image before the user uploads it to the server to make sure that this image is what the user wanted to upload. I have tryed to do this with $_FILES['name']['tmp_name'] and put this in a tag but nothing happens.
phpFreak
  • 133
  • 1
  • 1
  • 8
11
votes
1 answer

Python Firefox Webdriver tmp files

My python application loads webpages using Selenium Webdriver for a total of 20000 pages more or less in several hours of work. My problem is that "something" is creating a lot of tmp files, filling all my hard drive. For example, this morning the…
phcaze
  • 1,707
  • 5
  • 27
  • 58
10
votes
2 answers

What is the proper place to put named pipes on Linux?

I've got a few processes that talk to each other through named pipes. Currently, I'm creating all my pipes locally, and keeping the applications in the same working directory. At some point, it's assumed that these programs can (and will) be run…
nitz
  • 437
  • 5
  • 19
9
votes
4 answers

Write to tmp folder

EDIT 1 This question involves the user of the MANGOPAY API. My problem is that I cannot get the API to write to the tmp folder. I have succeeded in getting the API to write to http://fakedomain.com/apifolder/blank.txt and getting the appropriate…
Eric Brotto
  • 53,471
  • 32
  • 129
  • 174
9
votes
2 answers

iPhone SDK Get tmp directory

How do i get the tmp directory on the iPhone or iPad? if i use NSTemporaryDirectory() to create a file it does not save to the simulator temp directory.
Aran Mulholland
  • 23,555
  • 29
  • 141
  • 228
9
votes
4 answers

Is it safe to temporarily rename /tmp and then create a tmp symlink to a different location?

The situation is that this application needs more space in /tmp. Currently my tmp folder is in root's partition. Is it safe to temporarily create a tmp symlink to a different partition just to take advantage of the larger space?
maki57
  • 480
  • 1
  • 6
  • 13
8
votes
2 answers

'tmp' directory is too big in iOS

I made an app which is 40 MB (very big for me). But the real surprise is that I found the tmp directory is 300 MB! And I haven't saved any files in the document yet! All the files' names in tmp are…
Wang Liang
  • 941
  • 2
  • 15
  • 34
8
votes
2 answers

How can I configure ImageMagick to not use any temporary files?

I'm trying to run ImageMagick without touching the filesystem: image data is read from memory/the network, and written back to a socket as a blob. However, ImageMagick continually tries to write temp files, which either fill up my test system due to…
Zac B
  • 3,796
  • 3
  • 35
  • 52
8
votes
5 answers

Saving session data securely in PHP

I was trying to understand how sessions work in PHP and found that session data is by default stored in the file system. In a shared hosting environment, session data can be read by PHP scripts written by any user. How can this be prevented ?
Zacky112
  • 8,679
  • 9
  • 34
  • 36
7
votes
1 answer

In Electron app how do you reference the temp path?

Learning Electron I'd like to do some file processing after a drag and drop. On a Mac the equivalent for tmp is a $TMPDIR. Referencing the API documentation of app I was able to locate the app.getAppPath() which shows my path from a simple console…
DᴀʀᴛʜVᴀᴅᴇʀ
  • 7,681
  • 17
  • 73
  • 127
6
votes
1 answer

How get absolute path for tmp folder in windows 10 and nodejs?

I am trying to ru the following code (tmp lib here): const tmp = require('tmp') tmp.dir(async (err, path, cleanupCallback) => { console.log(path) } Which outputs: C:\Users\LONGUS~1\AppData\Local\Temp\tmp-13152HMljuIU3YKR0 How to make it output…
Cherry
  • 31,309
  • 66
  • 224
  • 364
1
2
3
21 22