Trash spec 0.2, technical questions
alexl at redhat.com
Wed Sep 1 14:23:59 EEST 2004
On Wed, 2004-09-01 at 12:23 +0200, C. Gatzemeier wrote:
> Am Tuesday 31 August 2004 17:14 schrieb Jerry Haltom:
> > Again, what any of these cases bring to the table to admins is "make sure
> > to set up permissions right for your trash cans" which would be a bit
> > annoying. ;)
> The "mv $topdir/A/B/C/file $topdir/Trash/A/B/C/file[timestamp]" approach is
> permission neutral and shlould work regardless of the location as far as I
> can think now. It should work just fine executed with only regular user
> permission in home directories. This will already cover most of the uses
> cases without any sysadmin intervention.
I have a question about this approach.
Given a file /foo/bar/gazonk that you want to trash, where you don't own
the foo or bar dirs yourself. How would you go about creating a copy of
those dirs in the trash dir? And what if permissions on a directory are
later changed, when and how is that updated in the trash?
Alexander Larsson Red Hat, Inc
alexl at redhat.com alla at lysator.liu.se
He's a globe-trotting umbrella-wielding astronaut in a wheelchair. She's a
strong-willed gold-digging advertising executive from a different time and
place. They fight crime!
More information about the xdg