Xfce Forum

Sub domains
 

You are not logged in.

#1 2017-06-15 14:49:31

Pizio
Member
From: Italy
Registered: 2017-03-30
Posts: 39

Impossible move file from home to trash folder

Hi there, I am using debian 9 testing with Xfce4 and I have noticed a problem in my /home/. while trying to move some files to trash-folder it appears a pop-up tell me I haven't permission to do it, but I can click with the right mouse and erase them.
I don't know if some permissions are changed while upgrading but ther is no way to move files to trash folder and all files are mine like user and group.
Is there a solution?

Thanks

Offline

#2 2017-06-15 23:17:07

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,990

Re: Impossible move file from home to trash folder

Pizio wrote:

while trying to move some files to trash-folder

Are you doing this from within Thunar? Or the desktop? Or some other application?

it appears a pop-up tell me I haven't permission to do it, but I can click with the right mouse and erase them.

If doing this from thunar, are you running thunar as root? What do the following commands return?

ls -al ~/.local/share | grep Trash
ls -al ~/.local/share/Trash

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2017-06-18 09:32:28

Pizio
Member
From: Italy
Registered: 2017-03-30
Posts: 39

Re: Impossible move file from home to trash folder

Thanks for your replay.
Well, this happen in Thunar, but also on the Desktop and I am not running Thunar as root.
here what commands return:

ls -al ~/.local/share | grep Trash
drwx------  4 tito tito   4096 mag 15 15:30 Trash

ls -al ~/.local/share/Trash
totale 16
drwx------  4 tito tito 4096 mag 15 15:30 .
drwx------ 18 tito tito 4096 giu 18 11:01 ..
drwxr-xr-x  2 root root 4096 mag 15 13:08 files
drwx------  2 tito tito 4096 giu 15 10:50 info

Offline

#4 2017-06-18 09:54:21

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,990

Re: Impossible move file from home to trash folder

drwxr-xr-x  2 root root 4096 mag 15 13:08 files

This directory is incorrectly owned by root and your user account doesn't have write rights to it. Try resetting the permissions:

sudo chown -R tito:tito ~/.local/share/Trash

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2017-06-20 14:39:29

Pizio
Member
From: Italy
Registered: 2017-03-30
Posts: 39

Re: Impossible move file from home to trash folder

Well, thank you so much, it works!

Offline

Board footer

Powered by FluxBB