Forums

rmdir: failed to remove `/home/miles37/mysite': Directory not empty

Hi.

So, I did the Flask set-up tutorial thing on the Web tab; then I got to the bit where it said to choose your Framework, so I deleted the Flask app and tried to make a new one with Django, and it says this message: "rmdir: failed to remove `/home/miles37/mysite': Directory not empty". Does the database just take time to empty, do I have to wait till the server updates or something, or do I need to do something else to delete it fully?

Cheers,

Miles.

By default 'rmdir' won't let you delete a populated folder. Use the command 'rm -r' on the directory instead - but be careful, as it recursively deletes all sub-folders and files.

-Rob.

Issue resolved, thanks.