You might want to check if the project folder permission allow nginx to 
read/modify/delete. Normally checking by enter "ls -l" inside project 
folder in ubuntu terminal to check if "www-data:www-data" (user:group) has 
CRUD permission. If not using chown and chmod command.
ในวันที่ วันอาทิตย์ที่ 9 กรกฎาคม ค.ศ. 2023 เวลา 23 นาฬิกา 53 นาที 21 วินาที 
UTC+7 Makan Dianka เขียนว่า:

> I mean show the full path of the folder that u want rename 
>
> Le dim. 9 juil. 2023, 18:50, Makan Dianka <makand...@gmail.com> a écrit :
>
>> can u so the full path of folder that u want rename plz?
>>
>> Le dim. 9 juil. 2023, 16:54, Munna Singh <munna....@gmail.com> a écrit :
>>
>>> Hi,
>>> I'm using windows system for development purposes on which my code is 
>>> working fine but the same code throwing error on remote system(ubuntu).
>>>              repo_dir = "xyz"
>>>               renamed_repo_dir = "xyz"+"_delete_xyz"
>>>              os.rename(repo_dir, renamed_repo_dir)
>>>               PermissionError: [Errno 13] Permission denied:
>>> I'm trying to rename an existing directory coz i have to write a new 
>>> directory with same path thn deleting the renamed one.
>>>
>>> Please help.
>>>
>>> thanks
>>> Munna Singh
>>>
>>> -- 
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/CAPrh91RZjcfrsJge_%3D_AsD6SMD-hQL7uvLEh%3DPR-UFocQ-oV0w%40mail.gmail.com
>>>  
>>> <https://groups.google.com/d/msgid/django-users/CAPrh91RZjcfrsJge_%3D_AsD6SMD-hQL7uvLEh%3DPR-UFocQ-oV0w%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4d7ed1e9-2279-47e2-992f-d7b713d60923n%40googlegroups.com.

Reply via email to