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

MySQL: where is tmpdir? There are no files in /tmp

I'm running a large query, and I'm getting the following error: _mysql_exceptions.InternalError: (3, "Error writing file '/tmp/MYo8b3Z4' (Errcode: 28)") This means I'm running out of disk space in my tmpdir which is evidently /tmp. Now, I want to…
navidoo
  • 309
  • 2
  • 11
0
votes
2 answers

Am I really missing the directory '/temp/vendor' ? (AKA pushing to heroku)

I am currently finishing the 9th chapter of the Ruby on Rails Tutorial by Michael Hartl. The last step of this is to push the code to heroku ($ git push heroku) which is something that I have done many times before with no issues. This time however,…
sbeckme
  • 9
  • 4
0
votes
0 answers

NGINX + PHP-FPM tmp dir

I need to know where the uploaded files are sent when a user upload a file like an image through php. The files are written direct to the destination directory in scripts or they uploaded to an tmp directory? In this case, would be nice if tmp…
Augusto Will
  • 562
  • 7
  • 20
0
votes
2 answers

Capistrano tmp:dir error:cannot run git-ssh.sh: No such file or directory

on my server I´m not allowed to create an tmp folder that executes any content. So with capistrano 3 I have the option to set a path for a kind of custom tmp folder. Is there any syntax I have to consider, cause my settings execute an error with cap…
burn4ever
  • 1
  • 1
  • 3
0
votes
0 answers

7zip update archive command creates undesirable tmp files

I have an .exe which includes update and add 7zip operations. Update operation creates .tmp files which are not deleted after compressing the file. Also, their names are *.zip.tmp1, *.zip.tmp2 and like that... How can I prevent creating these .tmp…
0
votes
1 answer

Nginx + FPM PHP: where the uploaded files are sent? And tmp dir security

I need to know where the uploaded files are sent when a user upload a file like an image through php. The files are writen direct to de destination directory in scripts or they uploaded to an tmp dir? In this case, would be nice if tmp dir were…
Augusto Will
  • 562
  • 7
  • 20
0
votes
0 answers

cakephp session no new files in tmp/sessions

I am in the cumbersome proces of updating a Cakephp application from 1.2 to 2.5. I discoverd that one of the main reasons I keep getting errors is because the sessions are not stored in tmp/sessions. (each time a new browser visits the app a new…
Webconstructor
  • 525
  • 2
  • 6
  • 15
0
votes
1 answer

Creating Project Cordova 3.5

I am trying to upgrade my Cordova version from 2.9 to 3.5 (not using CLI version). When I use Terminal to create it, the project does not have a CordovaLib as the instructions say. And there is an error saying Tmp: Permission Denied does anyone have…
user3630775
  • 181
  • 3
  • 13
0
votes
2 answers

Change the location of the tmp directory for SwiftMailer in Symfony2

My shared hosting does not allow me to use the root \tmp directory. I know that the location of the temp directory can be updated using the Swift_Preferences class, however, how do I do that for a SwiftMailer instance autoloaded by Symfony2? Is…
Jon Winstanley
  • 23,010
  • 22
  • 73
  • 116
0
votes
0 answers

Emulating GCC's __COUNTER__ Feature

It would be great to generate a unique ID on the preprocessor to get arround using RTTI to determine a type at runtime. I've come accross the option __ COUNTER__ as a gcc macro define. I was quite happy with that but unfortunately my embedded…
clambake
  • 772
  • 4
  • 15
0
votes
0 answers

Ruby on Rails -- Can I change upload tmpdir on each user sessions?

I want to change tmpdir of fileupload on each user sessions with Rubu on Rails. For example: UserA's upload tmpdir /home/userA/tmp UserB's upload tmpdir /home/userB/tmp Is it possible to do it on Ruby On Rails?
0
votes
0 answers

mysql: can't change tmpdir to anything except /tmp

I create /mysqltmp directory as a root user and give it the same permissions as the /tmp directory (chmod 1777 /mysqltmp). But when I start mysql, service fails to start and I get the following error in logs: /usr/sbin/mysqld: Can't create/write to…
0
votes
1 answer

php upload_tmp_directory not work

hi am getting serious issue when i upload image i get error from uploader missing temporary folder. i search the internet and use this code ini_set('upload_tmp_dir','/sub_domain_home/folder/tmp'); but this not work. then i echo the directory of…
user3512830
  • 3
  • 1
  • 4
0
votes
1 answer

Write and upload file to remote temp directory , PHP

i have a website, and i have a temp directory "tmp" with permissions 777 . My question is , is it possible for a hacker to remote upload a file into this tmp directory ?
0
votes
1 answer

Not allowed to load local resource [image upload]

Here is my snippet that ajax a server-side script that uploads the file being submitted. It triggers on change of the input[type=file]. $('#magLogo').on('change', function(e) { var $input = $(this); var file =…
D4V1D
  • 5,805
  • 3
  • 30
  • 65