Why cant I delete a folder my script created?

Avatar
  • Answered
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?
Avatar
Tim S.
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.

Thanks!

Tim S