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

Miquel Beltran Febrer mbeltran at wonesys.com
Wed Oct 8 04:42:19 EDT 2008


thomas fossati escribió:
> 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.
Must be that, we are using uclibc.
Finally we created the /tmp folder in the embedded system image, and the 
file upload worked fine :)

tranks!

Miquel.



>
> _______________________________________________
> Klone-users mailing list
> Klone-users at koanlogic.com
> http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users
>


-- 
Miquel Beltran Febrer

W-onesys, SL
WDM Optical NEtworks SYStems
c/ Orient, 78-84
08172 Sant Cugat del Valles (Barcelona) - SPAIN
Tel. + 34 93 590 11 49
fax  + 34 93 590 11 57
www.wonesys.com

Please consider the environment before printing this e-mail





More information about the klone-users mailing list