Forums

Permission denied adding files to App

Hi,

i am using django and wanted to habe some functions in a separate module - when i tried uploading the new module file (.py file) to the app i got a permission denied error? But I can upload it in the Main Webapp folder (so next to manage.py) Is this behaviour wanted?

Add. What I also find strange - Why cant I delete old folders that contain apps? What if I dont need them anymore?

Where are you trying to upload the module to? What directories can you not delete?

I cannot delete directories that contain apps, that i do not use at the moment - so e.g. I create and test 3 different webapps, one after another, if i have only webapp 3 active here I cannot delete the directories of webapp 1 or 2

I was trying to upload new .py files to a django app inside a webapp directory - i tried it using sFTP and the upload button on here (the button is only visible inside the main directory of the webapp not in a django app sub-directory

What is your directory structure?

/home/<USER>/Webapp1/... cant delete this (no permission) /home/<USER>/Webapp2/... cant delete this (no permission) /home/<USER>/Webapp3/... cant delete this (no permission) /home/<USER>/Webapp4/... cant delete this (no permission)

example inside a webapp folder /home/<USER>/Webapp1/ in this folder i can delete and add files /home/<USER>/Webapp1/subdirectory1 in this folder i can not add or delete files (only edit works)

Could we switch to email conversation on support@pythonanywhere.com. You could be more precise there.