Comment 0 for bug 7560

Revision history for this message
Daniel Silverstone (dsilvers) wrote :

Method: move a directory to the trash and empty the trash

Expected result: trash gets emptied

Actual result: trash complains about read only dirs

Hypothesis: Trash can cannot cope with directories being read only

Reproduction method:

1. create a dir foo
2. create a dir foo/bar
3. touch a file foo/bar/baz
4. chmod -w foo/bar
5. move foo into the trash
6. empty the trash

This is a common thing if someone makes a dir, copies a load of stuff off CD (is
thus readonly) and then tries to put that dir into the trash.