Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Trash not working (file will be deleted immediately)

Hi,

I recently upgraded from mac os 10.4 to 10.5, and I have now a strange Trash behaviour. When I move a file to the Trash Can, the finder says that it can not move the file to the Trash, and that it will be deleted immediately.

The point is that this problems only happens for files located in my home directory (which is a NFS remote directory), and not for files located on the physical hard drive of my mac.

I guess this has something to do with the location of the Trash directories, so I checked that, but the permissions seem to be the same:

% sudo ls -lnd /.Trashes/5618 ~/.Trash
drwx------@ 2 5618 2140 68 Jan 15 13:39 /.Trashes/5618
drwx------ 2 5618 2140 6 Jan 15 13:39 /home/salagnac/.Trash

One last thing, I don't know if it matters, but I am not part of the "staff" group (my account is a network account).

Can anybody help ? thanks a lot !

mac mini, Mac OS X (10.5.1)

Posted on Jan 15, 2008 6:04 AM

Reply
Question marked as Best reply

Posted on Jan 15, 2008 1:34 PM

I'm having this too, a long with mail, safari and ical crashing when i open them. i'm positive it's a permissions fault but have no idea how to sort it out!
22 replies

Mar 19, 2008 6:23 AM in response to Gyom

just to add a little bit more (and to revive the thread)

I noticed that when dragging a file from a dock's stack (for example the one displaying the "downloads" folder) I do not get the "file will be deleted immediately" warning.

The dragged file is actually moved to my ~/.Trash folder, but it doesn't show up in the Trash window of the Finder. The dock's "trash bin" icon remains empty, even when my ~/.Trash folder is full of such dragged files.

Mar 19, 2008 8:15 AM in response to Gyom

FWIW, I think petrock largely answered your question back in January: Leopard doesn't fully support remote home folders on NFS volumes unless they are set up in a particular way.

Perhaps if you describe how you set this up, he can tell you what you might need to do to get it to work as you want.

Apr 13, 2008 11:46 AM in response to R C-R

I'm having the same problem, and we are also using NFS-mounted home directories so it seems likely related to this setup (we use NFS instead of AFP because we've run into problems with some standard Unix programs and locking over AFP).

To describe our setup:
We have all users listed in /etc/auto_home, like:

jimmy xserve1:/Users/&
lisa havasu:/export/home/&

and the accounts are set in OD to use /home/username as the home directory, and everything but Trash works fine.

I see the system has created a /Users/.Trashes/ directory on the fileserver but it's empty. In a few cases, I have also found a .Trashes/ directory on the client with subdirectories named for the UID of the user. This all used to work in Tiger. But since we upgraded our server and clients all to Leopard, the Trash has been broken.

Apr 29, 2008 12:01 AM in response to Jim Gottlieb

Same behavior here. We've used to host our homedirs on a Netapp server with 10.4 clients and it was working like a charm.

Now with 10.5 the trash is unusable and we need to confirm manually all files deletion. The .Trash folder seems to be completely disconnected from the Trash icon of the dock.

I'm not sure about this but I think it may cause other bugs, like problems when opening attachments with Thunderbird, since Thunderbird may create temporary files when opening an attachment and delete them immediately (with problems ?) after.

Apr 30, 2008 4:40 AM in response to Gyom

Since I had the same problem with a HD partition with only datadocuments (the system is on a seperate partition) I set to try various things and this may be a solution:

First I selected the HD partition and checked "ignore ownership for this volume". Then I deleted a file which (at last) went the normal way. When I then opened the Trash all documents I had deleted for some weeks appeared never to have been removed at all. Emptying Trash only removed the file I just deleted.

Now here's something very funny. When, still in the Trashfolder, I selected a file or folder and chose Get Info the file or folder disappeared! Thus the Trashfolder was actually emptied.

After this I unchecked the "ignore ownership for this volume" and now I had to give my password everytime I wished to delete a file. Again I chose Get Info for the HD concerned and chose "apply to enclosed items". From now on everything was back to normal.

So I think all this had to do with ownership.

Trash not working (file will be deleted immediately)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.