Recently I am working on a project in which a folder is dynamically generated by php. But this folder is not getting deleted it says "Unable to trash file". I found out that the user have changed. It is shown below. Please someone help. enter image description here

  • www-data is the user under which the Apache web server runs on the appliance. what does the code that you use to delete the folder look like?
    – kzidane
    Dec 23 '15 at 18:03
  • I am deleting it manually
    – Gunjan
    Dec 23 '15 at 22:41

try removing these directories as root. to delete a folder, execute this command in the terminal:

sudo rm -r <folder name>

where <folder name> is the name of the folder. if asked for a password, it's crimson.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .