[Klone-users] Issue with file uploading at /tmp

thomas fossati tho at koanlogic.com
Tue Oct 7 13:22:08 EDT 2008


Hi Miquel,

On Oct 7, 2008, at 6:39 PM, Miquel Beltran Febrer wrote:
> But it haven't resolved our issue,  maybe the problem with temporal  
> files is in another place, so we decided to  create the /tmp folder   
> and avoid future problems. We have tested building the webpage in a  
> standard linux computer and the file upload system works ok.
> Maybe is because this system doesn't use the standard libc, and it's  
> using a special libc for embedded systems.

If you are using newer uclibc, the TMPDIR support is explicitly  
disabled so, unfortunately,  you can't change the value at runtime.  I  
think the only thing you could try - if you got the sources - is to  
change the P_tmpdir value in stdio.h and then re-compile your libc.
Quite hardcore, but should do :)

ciao, t.




More information about the klone-users mailing list