I am unable to create a temp file using mktemp.
mktemp /tmp/abc.XXXX
Output obtained:
mktemp: cannot create temp file /tmp/abc.D30575: Value too large for defined data type
What could be the issue? Please guide.
Asked
Active
Viewed 541 times
0

Kanishka Dutta
- 35
- 1
- 2
- 9
-
what gives you `ls -al /tmp`? – hek2mgl Mar 10 '16 at 09:14
-
1http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Value-too-large-for-defined-data-type – HRgiger Mar 10 '16 at 09:15
-
@hek2mgl - File is not created in /tmp – Kanishka Dutta Mar 10 '16 at 09:25
-
@KD which version of mktemp are you using? – hek2mgl Mar 10 '16 at 09:26
-
@hek2mgl mktemp (GNU coreutils) 8.22 – Kanishka Dutta Mar 11 '16 at 08:22