[Labs-l] Conversion issues

John phoenixoverride at gmail.com
Sun Sep 1 20:08:11 UTC 2013


Im running into another issue,
result = popen(u'whois -h whois.cymru.com " -v -f %s"' % IP).read()
should give the whois results however I am getting a zero size response
when run from the web, however when ran from term it works fine......

Someone end these headaches.


On Sun, Sep 1, 2013 at 2:26 PM, John <phoenixoverride at gmail.com> wrote:

> The file was actually 775, but it was the parent directory issues that was
> causing the problems
>
>
>
> On Sun, Sep 1, 2013 at 1:47 PM, Marc A. Pelletier <marc at uberbox.org>wrote:
>
>> On 09/01/2013 01:34 PM, Marc A. Pelletier wrote:
>> > Most frameworks will refuse to run code that has 777 permissions for
>> > obvious security reasons
>>
>> (As a further note on the same topic, the same holds true for the
>> directories containing and leading to the files; world write would allow
>> anyone to replace their contents and so they are equally forbidden for
>> the same reason).
>>
>> -- Marc
>>
>>
>> _______________________________________________
>> Labs-l mailing list
>> Labs-l at lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/labs-l
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/labs-l/attachments/20130901/0289359d/attachment.html>


More information about the Labs-l mailing list