1

I just remove some folders which containing a lock sign on it by using "sudo nautilus" command from my gnome-bash terminal,But It can not allow me to remove those files from my trash menu.What Do I do?

baponkar
  • 193

1 Answers1

1

If by a mistake (e.g. running sudo nautilus) you moved files into Trash as root you can delete the Trash folder by running the following command (with root super-user rights):

sudo rm -rf ~/.local/share/Trash/

The Trash folder will be created again in the next time you will move files into Trash (hopefully, this time you'll execute nautilus as regular user)

Yaron
  • 13,453