[Baypiggies] django ownership question

Isaac hyperneato at gmail.com
Sun Apr 1 23:57:53 CEST 2012


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20120401/17b196e9/attachment.html>


More information about the Baypiggies mailing list