[Baypiggies] django ownership question

malcolm malcolm at hoprocker.net
Mon Apr 2 04:31:57 CEST 2012


Afaik, you don't need read permissions, but you *do* need execute
permissions (ability to navigate the tree).

-m

On Sun, Apr 1, 2012 at 2:57 PM, Isaac <hyperneato at gmail.com> wrote:

> Your application users need to have read permission on all parent
> directories. I believe I once had a permission problem because the parent
> directory holding my application was not readable by my Apache user.
>
> On Sun, Apr 1, 2012 at 12:25 PM, <akleider at sonic.net> wrote:
>
>> What is the standard or "best practice" with regard to ownership and
>> permissions regarding a django framework?
>> We have set up pathagar (1) (a django application) but are getting some
>> errors having to do with permissions and haven't been able to sort out
>> exactly why.
>>
>>  Currently we have separate users: 'path' for the django files, and
>> apache2 is running as 'www-data'. We have added user www-data to the path
>> group and user path to the www-data group (and have set all group
>> permissions to the same as the owner permissions) but are still getting
>> permission errors when running one of the command line utilities. The
>> same command works fine if run as root.
>>
>> Should all the django framework files be owned by the apache run user?
>>
>> Any advice would be appreciated.
>>
>> alex
>>
>> 1. "The Pathagar OPDS Book Server (https://github.com/sayamindu/pathagar)
>> now runs on the Marvell DreamPlug plug server. This plug server has
>> built-in
>> Wi-Fi access point and can run on 12 volts DC. Very cool!"
>> To view the full post:
>>
>> https://plus.google.com/_/notifications/emlink?emrecipient=105869686236412461330&emid=CNi03vHWka8CFYUVQAodvXkAAA&path=%2F118336168615253613647%2Fposts%2FTg5PGbA5TYV%3Fgpinv%3DAMIXal9QDHblcc236FlGzSmtyeBtaujmab_7fccw4It5PGlv1PcoElPqf6JgznlyAvf7nu_vNlhPbiYPOlBQC3fLAitSSxHwlDRCAsgkc-xMKE2iSIK9aSU%26hl%3Den&dt=1333215532393
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Baypiggies mailing list
>> Baypiggies at python.org
>> To change your subscription options or unsubscribe:
>> http://mail.python.org/mailman/listinfo/baypiggies
>>
>
>
> _______________________________________________
> Baypiggies mailing list
> Baypiggies at python.org
> To change your subscription options or unsubscribe:
> http://mail.python.org/mailman/listinfo/baypiggies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20120401/109d4db2/attachment-0001.html>


More information about the Baypiggies mailing list