I haven't messed with it, so I don't know if it would work or not, but
couldn't you just set the umask of the directory to the permissions
you want?
Clinton
On Aug 26, 2008, at 12:05 PM, Gerard Petersen wrote:
>
> Possibly not the cleanest of solutions, but you could put a sticky
> bit on the parent directory to force this.
>
> Regards,
>
> Gerard.
>
> Malcolm Tredinnick wrote:
>>
>> On Mon, 2008-08-25 at 22:44 -0700, Julien Phalip wrote:
>>> Hi,
>>>
>>> I'm using the FileSystem storage to save uploaded files, in a very
>>> basic way:
>>>
>>> storage.save('/blah/test.mp3', uploaded_file)
>>>
>>> Now, the resulting file has '600' file access properties. That
>>> file is
>>> then served by apache, but because of those access properties, it
>>> cannot be accessed as you get a '403 Forbidden' error.
>>>
>>> Is there a way to force the properties for the stored file (e.g. 605
>>> would be enough)?
>>
>> That is the subject of ticket #8454.
>>
>> Regards,
>> Malcolm
>>
>>
>>
>>>
>
> --
> urls = { 'fun': 'www.zonderbroodje.nl', 'tech': 'www.gp-net.nl' }
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---