<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>17598</bug_id>
          
          <creation_ts>2003-03-15 21:37 0000</creation_ts>
          <short_desc>zope ebuild for extfile</short_desc>
          <delta_ts>2003-04-12 17:13:15 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>hazmat@objectrealms.net</reporter>
          <assigned_to>kutsuya@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>hazmat@objectrealms.net</who>
            <bug_when>2003-03-15 21:37:01 0000</bug_when>
            <thetext>zope proxy object support for storing files on the fs</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hazmat@objectrealms.net</who>
            <bug_when>2003-03-15 21:37:55 0000</bug_when>
            <thetext>Created an attachment (id=9437)
/ebuild /net-zope/extfile/extfile-1.1.3.ebuild
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>axxackall@yahoo.com</who>
            <bug_when>2003-03-17 16:44:07 0000</bug_when>
            <thetext>After emerging it, I&apos;ve tried to add a file but got this message;

&quot;Error Type: Can&apos;t create directory:
Error Value: //var/lib/zope/zope-2_6_1/var/reposit&quot;

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?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kutsuya@gentoo.org</who>
            <bug_when>2003-03-30 23:23:55 0000</bug_when>
            <thetext>I had the &apos;reposit&apos; error also. Although ExtFile would work if I ran zope as the root user. (i.e. -u root)  So it&apos;s probably a permissions problem.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hazmat@objectrealms.net</who>
            <bug_when>2003-04-03 17:33:08 0000</bug_when>
            <thetext>i&apos;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&apos;s email as listed, doesn&apos;t work anymore..  

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kutsuya@gentoo.org</who>
            <bug_when>2003-04-12 17:13:15 0000</bug_when>
            <thetext>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</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>9437</attachid>
            <date>2003-03-15 21:37 0000</date>
            <desc>/ebuild /net-zope/extfile/extfile-1.1.3.ebuild</desc>
            <filename>extfile-1.1.3.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMjAwMyBHZW50b28gVGVjaG5vbG9naWVzLCBJbmMuCiMgRGlzdHJpYnV0ZWQg
dW5kZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRI
ZWFkZXI6IC9ob21lL2N2c3Jvb3QvZ2VudG9vLXg4Ni9uZXQtem9wZS90cmFuc2xhdGlvbnNlcnZp
Y2UvdHJhbnNsYXRpb25zZXJ2aWNlLTAuMy5lYnVpbGQsdiAxLjIgMjAwMy8wMy8xMSAyMDo1MDow
OCBzZWVtYW50IEV4cCAkCgppbmhlcml0IHpwcm9kdWN0CgpERVNDUklQVElPTj0iWm9wZSBwcm94
eSBvYmplY3RzIGZvciBmaWxlcyBvbiB0aGUgZmlsZXN5c3RlbSIKSE9NRVBBR0U9Imh0dHA6Ly93
d3cuem9wZS5vcmcvTWVtYmVycy9NYWNHcmVnb3IvRXh0RmlsZSIKU1JDX1VSST0iJHtIT01FUEFH
RX0vRXh0RmlsZS0ke1BWfS50Z3oiCiNTUkNfVVJJPSJ7JEhPTUVQQUdFfS9FeHRGaWxlLTEuMS4z
LnRneiIKTElDRU5TRT0iQlNEIgpLRVlXT1JEUz0ifng4NiIKClpQUk9EX0xJU1Q9IkV4dEZpbGUi
Cg==
</data>        

          </attachment>
    </bug>

</bugzilla>