PDA

View Full Version : [ubuntu] Cannot Create Trash Directory After Upgrade



spimby
June 27th, 2008, 01:50 PM
Hello,

After upgrading from 7.10 to 8.04, I was unable to drag anything into the trash as I didn't have permission to create the "Trash" directory. After looking around here on the forums, I found that the trash had moved to /home/username/.local/share/Trash

When I first tried to examine that directory, I didn't have permissions to go into .local. I used a terminal and sudo to create the Trash directory. Still unable to do anything. It appears that Root was the sole owner of .local and all it's sub directories.

I have since changed the owner of /.local and /.local/share to myself (from root). I have also changed the permissions on both of those to 777.

The trash now works, but the icon doesn't update immediately when I put something in. I have to open and close the trash to see the full trash icon (?).

My question: Is that the permission set up on the normal, functioning installation? The other directories in ~/.local/share are still owned by root and have drwxr-xr-x permissions (applicaions, desktop-directories, and now tracker).

Thanks!

Pumalite
June 27th, 2008, 02:06 PM
This might help:
http://www.psychocats.net/ubuntu/permissions
http://ubuntuforums.org/showthread.php?t=589909

adam_kimber
June 27th, 2008, 02:09 PM
It appears that Root was the sole owner of .local and all it's sub directories.

I have since changed the owner of /.local and /.local/share to myself (from root). I have also changed the permissions on both of those to 777.

You could try changing the group too. I Will check this evening what group my trash folder belongs to. Also 777 is not that secure even its only trash :P

spimby
July 1st, 2008, 04:41 AM
Ok, I modified the directory permissions of

~/.local
~/.local/share
~/.local/share/Trash

All to drwxrwx--- and with me as the owner and group. It works fine now. :)