Bug 17598 - zope ebuild for extfile
Bug#: 17598 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: kutsuya@gentoo.org Reported By: hazmat@objectrealms.net
Component: Ebuilds
URL: 
Summary: zope ebuild for extfile
Keywords:  
Status Whiteboard: 
Opened: 2003-03-15 21:37 0000
Description:   Opened: 2003-03-15 21:37 0000
zope proxy object support for storing files on the fs

------- Comment #1 From hazmat 2003-03-15 21:37:55 0000 -------
Created an attachment (id=9437) [details]
/ebuild /net-zope/extfile/extfile-1.1.3.ebuild

------- Comment #2 From Axxackall 2003-03-17 16:44:07 0000 -------
After emerging it, I've tried to add a file but got this message;

"Error Type: Can't create directory:
Error Value: //var/lib/zope/zope-2_6_1/var/reposit"

So, what did I miss? anything special I should do with permission settings? 

Is there any i can do to avoid uploading arbitrary files to such mission-criticl path?

------- Comment #3 From Jason Shoemaker (RETIRED) 2003-03-30 23:23:55 0000 -------
I had the 'reposit' error also. Although ExtFile would work if I ran zope as
the root user. (i.e. -u root)  So it's probably a permissions problem.

------- Comment #4 From hazmat 2003-04-03 17:33:08 0000 -------
i'm going to write up a patch for extfile and its default repo behavior..
talked to jason a little on irc about it.. new home for file storage will be in
the 

INSTANCE_HOME/var/reposit 

directory

and another patch for streaming response back to the client, as extfile
currently loads up files into memory before serving, which will freeze zope,
and exhaust memory, when dealing with large files...

unfortunately the ext file author's email as listed, doesn't work anymore..  

------- Comment #5 From Jason Shoemaker (RETIRED) 2003-04-12 17:13:15 0000 -------
A similar ebuild has been added to the portage tree. We could still create a
patched 1.1.3, if you want to hazmat.

Thanks for your help,
  --kutsuya