From: Tom C. <to...@u2...> - 2003-11-26 22:43:21
|
That seems to be a ruby-on-windows thing. One way to fix that is to fix the permissions on those directories. I've not discovered how to fix it in any other way, though I would like to find out how.... > Patrick: if you want to share the load I can set up a Windows Ruby > install on my NT4 box and see what happens. There is no cygwin on that > machine. > > And, by the way, I also get no errors running the wikitest. > > The warnings are all about having 040777 permissions on the document > root and cgi-bin directories (but I'll check and send you some output). > > Bill > > May, Patrick wrote: > >> Bill, >> >> duh, you just showed me. (ruby -W0 build.rb test) Anyways, I'll need to >> setup a cygwin install and see what these warnings are all about. This >> is a different issue than the problems I'm having with the Web::Upload's >> and 'ruby build.rb testwiki' >> >> Cheers, >> >> Patrick >> >> -----Original Message----- >> *From:* nar...@li... >> [mailto:nar...@li...]*On Behalf Of >> *May, Patrick >> *Sent:* Wednesday, November 26, 2003 5:03 PM >> *To:* 'nar...@li...' >> *Subject:* RE: [Narf-lib-devel] file upload api change >> >> Bill, >> >> Which test target are you running? >> >> Cheers, >> >> Patrick >> >> > -----Original Message----- >> > From: nar...@li... >> > [mailto:nar...@li...]On Behalf >> > Of William >> > L. Anderson >> > Sent: Wednesday, November 26, 2003 5:00 PM >> > To: nar...@li... >> > Subject: Re: [Narf-lib-devel] file upload api change >> > >> > >> > Patrick, OK this makes some sense. >> > >> > I had tons of permissions warnings but if I run >> > >> > ruby -W0 build.rb test >> > >> > then there are no warnings. >> > >> > I'd really like to understand the issues here. >> > >> > Bill >> > >> > May, Patrick wrote: >> > >> > > Bill, >> > > >> > > I'm running the Windows installer ruby, version 1.8.0-10 >> > (not cygwin). >> > > I think the permission warnings are failing tests re: >> > uploading images. >> > > On my box, this was the case. >> > > >> > > ~ Patrick >> > > >> > > > -----Original Message----- >> > > > From: nar...@li... >> > > > [mailto:nar...@li...]On Behalf >> > > > Of William >> > > > L. Anderson >> > > > Sent: Wednesday, November 26, 2003 4:36 PM >> > > > To: nar...@li... >> > > > Subject: Re: [Narf-lib-devel] file upload api change >> > > > >> > > > >> > > > Patrick: what version did you test. I tested Revision 30 on >> > > > Win2000 and >> > > > aside from permission warnings all the tests ran. So, I'm >> > > > confused about >> > > > what's broken. >> > > > >> > > > Bill >> > > > >> > > > May, Patrick wrote: >> > > > >> > > > > Hello, >> > > > > >> > > > > I think we may need to change the api for file uploads. >> > > > Recently, I ran >> > > > > all the narf tests on a Windows 2000 box. Besides the >> > > > expected sorts of >> > > > > failures (path issues / etc.) there were also some >> > disturbing ones >> > > > > related to moving files. >> > > > > >> > > > > I think the core of the issue is that when Narf processes >> > > > an uploaded >> > > > > file, it returns an opened Tempfile. A common thing >> > to do with an >> > > > > uploaded file is to move it to somewhere else. For some >> > > > reason, this >> > > > > works on unix's, but on windows you get permission denied >> > > > errors. I >> > > > > think it's because the file is still open. >> > > > > >> > > > > I will investigate the problem more, but I think I may >> need >> > > > to change >> > > > > the api so that the Web::Upload contains the path info >> > and helpful >> > > > > methods re: the Tempfile, instead of being literally an >> > > > Tempfile. (It >> > > > > currently is a SimpleDelegator delegating to the >> Tempfile). >> > > > > >> > > > > Cheers, >> > > > > >> > > > > Patrick >> > > > > >> > > > > >> > > > > "This communication is intended solely for the addressee >> and is >> > > > > confidential and not for third party unauthorized >> > distribution." >> > > > > >> > > > >> > > > >> > > > >> > > > >> > > > ------------------------------------------------------- >> > > > This SF.net email is sponsored by: SF.net Giveback Program. >> > > > Does SourceForge.net help you be more productive? Does it >> > > > help you create better code? SHARE THE LOVE, and help us >> help >> > > > YOU! Click Here: http://sourceforge.net/donate/ >> > > > _______________________________________________ >> > > > Narf-lib-devel mailing list >> > > > Nar...@li... >> > > > https://lists.sourceforge.net/lists/listinfo/narf-lib-devel >> > > > >> > > >> > > < >> > > >> > > >> > > "This communication is intended solely for the addressee and is >> > > confidential and not for third party unauthorized >> distribution." >> > > >> > > /BODY> >> > >> > >> > >> > >> > ------------------------------------------------------- >> > This SF.net email is sponsored by: SF.net Giveback Program. >> > Does SourceForge.net help you be more productive? Does it >> > help you create better code? SHARE THE LOVE, and help us help >> > YOU! Click Here: http://sourceforge.net/donate/ >> > _______________________________________________ >> > Narf-lib-devel mailing list >> > Nar...@li... >> > https://lists.sourceforge.net/lists/listinfo/narf-lib-devel >> > >> >> "This communication is intended solely for the addressee and is >> confidential and not for third party unauthorized distribution." >> >> BODY> >> >> "This communication is intended solely for the addressee and is >> confidential and not for third party unauthorized distribution." BODY> > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Narf-lib-devel mailing list > Nar...@li... > https://lists.sourceforge.net/lists/listinfo/narf-lib-devel > > > |