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
2 answers

while using google appengine request_logs, where it store the temp file?

While using the appcfg.py request_logs, it shows "copy the download logs to [the output file path]". Where would be the location google app engine used to store the temp file? EDIT1 While using appcfg.py request_logs, I noticed that the first…
lucemia
  • 6,349
  • 5
  • 42
  • 75
0
votes
1 answer

Returning multiple months of data into one select

I have a question on SQL 2008 which is probably quite easy but I can't see the woods for the trees now. I am trying to produce a sql based report detailing the last six months of helpdesk issue stats, per application, per office, per month which I…
Tricky
  • 3
  • 2
-1
votes
1 answer

Why are uploaded files getting a httpd_tmp_t label when a custom temp dir is used?

When I use PHP's move_uploaded_file function to upload files in to a directory, those files have the label httpd_sys_rw_content_t and inherit the parent directory's ACLs. If I configure PHP to use a custom created temp directory, the uploaded files…
jamieburchell
  • 761
  • 1
  • 5
  • 18
-1
votes
2 answers

What are all these phpXXXXXX files in /tmp

The /tmp folder on a PHP server keeps filling up with files like these -rw------- 1 user 5242880 Mar 16 04:32 php3FruGk -rw------- 1 user 5242880 Mar 16 04:32 php4CsNMh -rw------- 1 user 5242880 Mar 16 04:32 php4iEwia -rw------- 1 user 5242880…
g000m
  • 125
  • 1
  • 12
-1
votes
1 answer

linux /tmp/ folder bad file

im writring a python script that checks some permmission and if you have permmission it will open xfreerdp. Now i have a problem. If i just write in terminal the xfreerdp command it will open this. But if I use this python script it won't: The error…
-1
votes
1 answer

Replace the option noexec to exec in /etc/fstab file through a shell script

Only the /tmp option of noexec to exec should change. The /var/tmp option of noexec to exec shouldn't change. contents of /etc/fstab UUID=f229a689-a31e-4f1a-a823-9a69ee6ec558 / xfs defaults 0…
-1
votes
2 answers

How to merge the first N words of multiple tmp files using cmd

How to merge the first N words of multiple tmp files using cmd. I tried merging the first line but when I check the text file, it is showing 4 lines for every 1 line in the tmp files EXAMPLE: TMP FILE 1: FILE NAME: GALILEO1 CONTENT: SAMPLE WORDS TO…
-1
votes
2 answers

Change MySQL /tmp to /somedrive/mysqltmp in centos 7 for error code 28

I am trying to change the temp location for MySQL from default /tmp to /somedrive/mysqltmp as i am getting Errcode: 28 - No space left on device Solution: 1 I tried to add a line in /etc/my.cnf as tmpdir=/somedrive/mysqltmp then issued sudo…
s_mj
  • 530
  • 11
  • 28
-1
votes
1 answer

No space left on device MANJARO

I am using Manjaro Linux and i want to install Android Studio Beta from "Manjaro Package Manager". When I press the "install" button, it downloads 845 megabytes of data. And then I get a "no space left on device" error. But there is 45 gigabytes. I…
-1
votes
1 answer

Where do tmp files go after Bash finishes with a "local" variable?

I really screwed myself over recently. I have a function which will swap the contents of two files: function swap() { local TMPFILE=tmp.$$ mv "$1" "$TMPFILE" mv "$2" "$1" mv "$TMPFILE""$2" } ^ As you can see…
nargetdev
  • 23
  • 1
  • 5
-2
votes
1 answer

Change tmpdir MariaDB on Linux not working

I've tried to change tmpdir of mariadb. I changed the value of variable tmpdir but when I restart mariadb the tmpdir is always /tmp. This is my configuration file. [mysqld] # # * Basic Settings # user = mysql pid-file …
Maria
  • 43
  • 7
-2
votes
1 answer

List "copying to tmp table on disk" MySQL queries

Sometimes the MySQL database we use generates files on the /tmp disk to temporary store results when performing a query. On StackOverflow there are a lot of posts on how to disable this behavior or speed it up by for instance using a RAM disk. I'm…
Willem Van Onsem
  • 443,496
  • 30
  • 428
  • 555
-2
votes
1 answer

Understanding node `tmp` package

I'm not sure how to use the tmp package of node correctly. Maybe someone can give me an example Filename generation It is possible with this library to generate a unique filename in the specified directory. var tmp =…
Michael Brenndoerfer
  • 3,483
  • 2
  • 39
  • 50
-2
votes
1 answer

php tmpfile() - Could not create temporary files

I'm using Mac OSX, and when I try to create a temporary file, I get this message: $temp_file = tmpfile(); Could not create temporary files for attachments. Your tmp directory may be unwritable by PHP I checked the directory, and here's what I…
redolent
  • 4,159
  • 5
  • 37
  • 47
-3
votes
1 answer

Uploading a file to Google Signed URL with PHP cURL

I am trying to upload a file to a Google Signed URL with cURL in PHP. I have the file being posted from a form and can access it with the $_FILES var. However the file that actually gets uploaded is not the right file and I think it is to do with…
Paddy Hallihan
  • 1,624
  • 3
  • 27
  • 76
1 2 3
21
22