InMotion Hosting Support Center

Why cant I delete a folder my script created?

Category: Oscommerce

2012-03-25 12:05 am EST

Hits: 945
A couple of folders and files were created by a php subroutine. I can't delete them. FTP software shows a different owner. How can I delete them and avoid this in the future?

You must login before you can ask a follow up question.

You must login before you can submit an answer.



Tim S
13,821 Points
2012-03-26 9:28 am EST
Hi cml1203,

Thanks for posting your question. I'm sorry you're having trouble with deleting folders. I'm more than happy to assist you today. Basically, the script, when ran is creating the folders with different owners. So, you as the "real" owner does not have permission to delete the folder.

To solve this, you'll need to look at how the php script is creating the folder. You may need to revise the code. Unfortunately, with being able to see the code you are using, I cannot help you determine how to alter it.

If you need further assistance please feel free to contact us.


Tim S

You must login before you can post a comment about this answer.

Like this Question?

Related Articles

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!