Summary: | zope ebuild for extfile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | hazmat <hazmat> |
Component: | New packages | Assignee: | 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
Created attachment 9437 [details]
/ebuild /net-zope/extfile/extfile-1.1.3.ebuild
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? 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. 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.. 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 |