Re: [Nautilus-list] my trash is broke???



I have:

$ df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda7             18097460   1359936  15818208   8% /
/dev/hda2                23333      4540     17589  21% /boot
/dev/hda5             35925832  15364292  18736560  46% /usr
none                    256312         0    256312   0% /dev/shm
/dev/hda1              3099260    974324   1967504  34% /home

and Trash on /usr/ggf stopped working when I upgraded from RedHat 7.0 to 7.2.

I just added /ggf and Trash works there as I thought it should.

Trash on /home/ggf works and I do not have write on /home. I 'assumed' that was because /home/ggf was my home directory.





/home/ggf/.gnome/gnome-vfs/.trash_entry_cache has

  /ggf /ggf/.Trash-ggf
  /usr -
  / -
  /boot -
  /proc -
  /mnt/floppy -


I tried adding
  /usr/ggf
as the second line but it didn't 'work'. Is .trash_entry_cache involved with Trash?

???

Gary



Owen Taylor wrote:

Havoc Pennington <hp redhat com> writes:


Gary Frederick <gary frederick jsoft com> writes:

Trash stopped working on directories other than my home directory a
few weeks ago.

If I select a file and press the Delete key on a file on my home
directory, it's moved to the trash can.

If I try the same on another directory (eg /usr/ggf/somefile), a
message comes up telling me that the file can't be moved to Trash and
asking if I want to delete it immediatly.

How do I set up Nautilus to work with Trash on other directories?


Maybe you upgraded Nautilus, the "find somewhere to put trash"
algorithm changed. It used to spend a long time looking for a writable
directory on a given device where it could put trash. This took a
really long time and was a bad idea for various reasons. (Think AFS
and automount for example.)

Newer Nautilus basically gives up if the root of the device isn't
writable, and decides it can't trash things on that partition/device.
So you generally can't trash things on your / partition. The old
behavior would have selected some writable directory under / and put
the trash there, which is probably not desired.


Actually, it always will use your home directory first if it is
on the same filesystem. (iirc.) Doesn't really affect the
result here if /usr and /home are on different partitions.

Regards,
                                        Owen








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]