Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 17598

Summary: zope ebuild for extfile
Product: Gentoo Linux Reporter: hazmat <hazmat>
Component: New packagesAssignee: Jason Shoemaker (RETIRED) <kutsuya>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /ebuild /net-zope/extfile/extfile-1.1.3.ebuild

Description hazmat 2003-03-15 21:37:01 UTC
zope proxy object support for storing files on the fs
Comment 1 hazmat 2003-03-15 21:37:55 UTC
Created attachment 9437 [details]
/ebuild /net-zope/extfile/extfile-1.1.3.ebuild
Comment 2 Axxackall 2003-03-17 16:44:07 UTC
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 Jason Shoemaker (RETIRED) gentoo-dev 2003-03-30 23:23:55 UTC
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 hazmat 2003-04-03 17:33:08 UTC
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 Jason Shoemaker (RETIRED) gentoo-dev 2003-04-12 17:13:15 UTC
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