From: Cyril Bazin <cyril.bazin@gm...>  20050811 17:11:22

We tryed the same thing without success... (adding mode=3D777 to fstab) We added a line in Sxxhttpd in the "start" part before launching boa. "chmod 777 /tmp" It's a very sad way to avoid the problem but it works.=20 Cyril On 8/11/05, Craig Hughes <craig@...> wrote: >=20 > Hmm  I just tried altering /etc/fstab to change the tmpfs mount options= =20 > to "mode=3D1777" and it doesn't seem to work, though the tmpfs docs seem = to=20 > suggest that should be right. Anyone have any thoughts? > C >=20 > On Aug 11, 2005, at 7:55 AM, J=E9r=F4me Multrier wrote: >=20 > Thanks for your link, it's the file from which we tested the upload :)=20 > (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 wwwdata and trie= s=20 > to write temporary files in /tmp. By default, rights on /tmp are 755 for= =20 > root:root. > Could you please modify access right for this directory (in /etc/fstab..?= )=20 > in the buildroot ? >=20 > Thanks in advance,=20 >=20 > Cyril and Jerome ! >=20 >=20 > 2005/8/10, Craig Hughes <craig@...>: > >=20 > > And sample code.... > > http://www.cgicc.org/doc/upload_8cpp.html=20 > >=20 > > C > >=20 > > On Aug 10, 2005, at 9:03 AM, Craig Hughes wrote: > >=20 > > Looks like cgicc has facilities for that already: > > http://www.cgicc.org/doc/classcgicc_1_1FormFile.html > >=20 > > C > >=20 > > On Aug 10, 2005, at 7:23 AM, J=E9r=F4me Multrier wrote:=20 > >=20 > > We are currently trying to upload a file via a http form and a C CGI to= =20 > > the gumstix, but we can't make it work, and can't find any relevant exa= mple=20 > > ... > > Does anybody knows how to do it properly ..? :) > >=20 > >=20 > > 2005/8/10, J=E9r=F4me Multrier < jerome.multrier@...>: > > >=20 > > > thanks ! > > > The guy who had problems with that found a C library : cgicc.=20 > > >=20 > > > 2005/8/9, Craig Hughes < craig@...>: > > > >=20 > > > > J=E9r=F4me, > > > > in case you didn't find anything yet: > > > >=20 > > > > http://hoohoo.ncsa.uiuc.edu/cgi/env.html > > > >=20 > > > > C > > > >=20 > > > > On Aug 2, 2005, at 3:11 AM, J=E9r=F4me Multrier wrote:=20 > > > >=20 > > > > 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.=20 > > > > What are the possiblities to get data from a form ? <%}=20 > > > > GET, POST in argv[1], getenv() ...? > > > > If you have some little code .. > > > > Thanks in advance!! > > > >=20 > > > > =20 > > > > Jerome > > > >=20 > > > >=20 > > > >=20 > > >=20 > > >=20 > > > =20 > > > Jerome > > >=20 > >=20 > >=20 > >=20 > > =20 > > Jerome > >=20 > >=20 > >=20 > >=20 >=20 >=20 > =20 > Jerome >=20 >=20 > 