[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GMG-Devel] video transcoding creates excessively restricted files

From: Christopher Allan Webber
Subject: Re: [GMG-Devel] video transcoding creates excessively restricted files
Date: Tue, 09 Jul 2013 11:03:13 -0500
User-agent: mu4e; emacs

Kushal Kumaran writes:

> ayleph <address@hidden> writes:
>> On 07/02/2013 11:28 AM, ayleph wrote:
>>> On 07/02/2013 11:19 AM, Kushal Kumaran wrote:
>>>> Hi,
>>>> I have a mediagoblin setup with nginx/separate-celery following the
>>>> instructions at
>>>>  When
>>>> I upload a video that needs transcoding, the transcoded file and the
>>>> thumbnail are created with 0600 permissions.  So nginx, which is running
>>>> as a different user, is not able to serve those files.
>>>> I tracked down the problem to tempfile.NamedTemporaryFile, which always
>>>> creates files with 0600 permissions, rather than doing 0666 and letting
>>>> the umask adjust the actual permissions.
>>>> I have a patch that fixes the problem, but I'm curious to know if other
>>>> people have encountered this problem, and if there are better ways to
>>>> solve it.
>>> I have most definitely encountered this problem, but I hadn't tracked
>>> down the culprit. Do you have an account on the MediaGoblin Trac site?
>>> It would be the proper place to submit a bug and include your patch, I
>>> think.
>> I should have checked Trac first myself; it looks like there's already a 
>> related issue from 3 weeks ago about this. No proposed solution though.
> Thanks for the pointer.  I've added a comment and the patch to issue
> 716.


Thanks for bringing up this thread.  A lot of people have run into this
problem... you hit the nail on the head of it being the

It turns out we don't even need to be using those, even!  We can get rid
of it...

If someone is willing to take this on, I'd be happy to help them with
it.  Otherwise else I will try to get to it by 0.4.1... but the more
help I can get, the better.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]