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

Why can't .exes see files in /tmp in Windows Subsystem for Linux when the current working directory is a subdirectory of /mnt/c?

When I run a .exe file from within WSL when the current working directory is /mnt/c or a subdirectory thereof, it seems to be unable to see files in /tmp. For example, cd /mnt/c; notepad.exe $(mktemp) throws "The system cannot find the file…
Hello Goodbye
  • 134
  • 2
  • 10
2
votes
0 answers

Fatal error: cannot create R_TempDir (Installing R package in Ubuntu)

I am trying to install devtools on Ubuntu 16.04 R. I have been able to install several packages, but currently, in my R session, when I type: install.packages("devtools") I receive: Fatal error: cannot create 'R_TempDir' Upon issuing the tempdir()…
lavenderGem
  • 117
  • 8
2
votes
1 answer

Python Script Creates Directories In /tmp/, Taking Up System Space

I am running a script that acts as a server, allows two clients to connect to it, and for one specific client to send a message to the server, the server modifies it, then sends it to the other client. This appears to work, as the receiving client…
JCoder96
  • 178
  • 13
2
votes
0 answers

Show files that are git ignored in sublime sidebar

I'm trying to get the tmp file that is git ignored, to display in my sublime sidebar so that i can look at the contents. I have tried everything that I found, including going into preferences => settings and deleting 'tmp' from the…
b.herring
  • 563
  • 2
  • 18
2
votes
0 answers

Permission denied @ rb_sysopen - /tmp/github_api_headers20180618-21004-yrr75i error.

I am attempting to install mysql using homebrew but I keep getting Permission denied @ rb_sysopen - /tmp/github_api_headers20180618-21004-yrr75i This is my brew config HOMEBREW_VERSION: 1.6.9 ORIGIN: https://github.com/Homebrew/brew HEAD:…
Queu
  • 31
  • 2
2
votes
1 answer

PHP rename() from /tmp throws warning, although actually works

Moving files from /tmp dir, I'm getting a warning: rename(/tmp/[somefile], [destination] ): Operation not permitted in [...] There are three strange things with it: Both the files in /tmp and the [destination] directory belong to www process…
1234ru
  • 692
  • 8
  • 16
2
votes
1 answer

php : get tmp size

how to get tmp size my code filesize('/tmp/phpn3jaaQ'); error PHP Warning: filesize() [function.filesize]: SAFE MODE Restriction in effect. The script whose uid is 524 is not allowed to access /tmp owned by uid 0 in /home/script/file.php on…
U95
  • 21
  • 2
2
votes
1 answer

Rails 4 - where to store temporarily files?

I am generating txt/pdf documents, saving them (currently) in the /tmp directory, uploading them to Amazon S3 and then removing them from the /tmp directory. The problem is that when I deploy some new code while a new file being currently generated,…
user984621
  • 46,344
  • 73
  • 224
  • 412
2
votes
1 answer

when CreateDirectory returns ERROR_ACCESS_DENIED and "shouldn't"

My Win32 app A1 (actually a collection of processes) is trying to use CreateDirectory to create a directory D1 within parent directory P. The path to P is the value of the TMP environment variable, which makes P a potentially busy but generally…
Integer Poet
  • 747
  • 5
  • 19
2
votes
2 answers

Possible Implementation of is_assignable

i'm trying to get used to some tmp concepts. Here is one solution to check if 2 Types are assignable: This is the most important part: template class __is_assignable_helper: public __sfinae_types { template
AF_cpp
  • 568
  • 5
  • 15
2
votes
1 answer

JasperReports font extension +~JF*****.tmp files

I have a main application on a JBoss server who has inside standalone modules who work with JasperReports. I need to use font extensions for my reports. After a lot of problems i did manage to make them work. ClassLoader cl = new URLClassLoader( new…
Ionut Zeca
  • 93
  • 2
  • 8
2
votes
2 answers

Can I change os.tmpname() in lua?

I want to change the name of my temporary file. I know os.tmpname() returns a temporary name and I was wondering if there is a way I can change it to what I want.
hy0shi
  • 271
  • 4
  • 12
2
votes
1 answer

OSX with XAMPP: "imagegd2(): unable to open temporary file"

I get "imagegd2(): unable to open temporary file" error message when I go to an image URL that is generated with imagegd2() like: $image->make($data['path']); $image->resize(100, null, true)->crop(70, 70); // create response and add formated…
sunzu
  • 106
  • 1
  • 6
2
votes
2 answers

Store data for x hours using NodeJS

I need to collect data every 10 minutes and store that data for 32 hours. This means, that I will have 192 entries of this data and I need to access those 192 entires often. At first I wanted to use an array and just push the elements into it. If my…
brdigi
  • 135
  • 1
  • 6
2
votes
1 answer

tmp directory not cleaning while using jenkins

I am using jenkins 1.451 on AIX 7.0 with job carrying out checkout,compile and pushing code to our environment. Also a Sonar job is configured on jenkins. Here, Jenkins is not implemented using apache or as RPM. We have just extracted the war and…
Kaku
  • 53
  • 2
  • 5
  • 10