On Tue, May 19, 2015 at 9:04 AM, x <ung...@zetteeh.net> wrote:
> hello hello,
>
> finally i was able to install a python instance on my shared-server.
> it was also impossible to pip-install django. yeah.
>
> but right then - so close already - i got a permission problem again.
> i couldn't figure out exactly what django-admin.py wants to do/execute and 
> why it's
> not satisfied with my nice brand new local python 2.7.9 instance.. muhhuuu.
>
> this is the ssh prompt:
>
>> (uiserver):u74138225:~/django_build >  django-admin.py startproject test 
>> --user-
>> bash: 
>> /customers/homepages/45/d5012545412/htdocs/python27/bin/django-admin.py: 
>> Permission denied
>
> for any suggestions how to domesticate django on this shared server i'd be 
> very happy.

Web hosting platforms commonly (and should) have their htdocs on a
volume that is mounted with noexec, so that things cannot be executed.
Check with your hosting provider as to how they have things set up.

Incidentally, having your python code installed inside your htdocs is
a stunningly bad idea even if you can get it to work, as anyone who
can guess the path to a particular file would be able to read its
contents.

It might be worth contemplating a provider that is better suited to your needs.

Cheers

Tom

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFHbX1KJc%3D%2BGWoxQj_cZZ45qxUp4sNBiP9EmaOAfXXkB1cPYdw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to