Hmm -- I just tried altering /etc/fstab to change the tmpfs mount options to "mode=1777" and it doesn't seem to work, though the tmpfs docs seem to suggest that should be right.  Anyone have any thoughts?

C

On Aug 11, 2005, at 7:55 AM, Jérôme Multrier wrote:

Thanks for your link, it's the file from which we tested the upload :) (one of the rare 'usefull' links found on the internet about this topic...)
So we found THE problem. Boa (and/or cgicc) runs cgi as www-data and tries to write temporary files in /tmp. By default, rights on /tmp are 755 for root:root.
Could you please modify access right for this directory (in /etc/fstab..?) in the buildroot ?

Thanks in advance,

Cyril and Jerome !


2005/8/10, Craig Hughes <craig@gumstix.com>:
And sample code....


C

On Aug 10, 2005, at 9:03 AM, Craig Hughes wrote:

Looks like cgicc has facilities for that already:


C

On Aug 10, 2005, at 7:23 AM, Jérôme Multrier wrote:

We are currently trying to upload a file via a http form and a C CGI to the gumstix, but we can't make it work, and can't find any relevant example ...
Does anybody knows how to do it properly ..? :)


2005/8/10, Jérôme Multrier < jerome.multrier@gmail.com>:
thanks !
The guy who had problems with that found a C library : cgicc.

2005/8/9, Craig Hughes < craig@gumstix.com>:
Jérôme,

in case you didn't find anything yet:


C

On Aug 2, 2005, at 3:11 AM, Jérôme Multrier wrote:

Hello !
We are building a little CGI to interact with our system.
I'm a http newbie and would like to interact with the user.
What are the possiblities to get data from a form ? <%-}
GET, POST in argv[1], getenv() ...?
If you have some little code ..
Thanks in advance!!

--
Jerome




--
Jerome



--
Jerome





--
Jerome