Trash mechanism
C. Gatzemeier
c.gatzemeier at tu-bs.de
Sun Aug 29 00:59:41 EEST 2004
Am Saturday 28 August 2004 21:46 schrieb David Faure:
> On Saturday 28 August 2004 21:12, C. Gatzemeier wrote:
> > Am Friday 27 August 2004 23:26 schrieb David Faure:
> If I'm part of N groups, and I delete a file from each group, I would need
> N different trashcans...
You mean when copying to you /home trash can? Ok, I wasn't refering to this
case. I think that "importing" stuff to an absolute path unter your home like
~/.Trash/SYSTEM_ROOT/... is a rather personal but catch all fallback. It goes
on your own quota.
But for example if the group dirs reside under /group and the trash for this
subdir can be stored therein.
/group root:root rwxr-x--
/group/student staff:student rwxrws---
/group/teacher root:teacher rwxrws---
/group/.Trash root:root rwxr-x---
/group/.Trash/student staff:student rwxrws---
/group/.Trash/teacher root:teacher rwxrws---
/group/.Trash/teacher/classlist[deldate] smith:teacher rw-rw----
When you are part of several groups the files are moved to the corresponding
trash directory.
> Plus one for the directories that are not
> group-writable.
When the admin does not let you write, there may not be much to do about it
other than private backups or private trashing (into the homedir). (Well,
having him grant group write permissions and quotas of course)
Another thing with private trashs outside of the home dir is that they won't
get removed when a user is deleted.
Hm, what was the reason again you opted for trash directories on in the
filesystem that pool all deleted files together?
Cheers,
Christian
More information about the xdg
mailing list