Trash specification, version 0.1

Alexander Larsson alexl at redhat.com
Thu Sep 2 14:12:37 EEST 2004


On Thu, 2004-09-02 at 13:52 +0400, mr at ramendik.ru wrote:

> > Good, I think we settled the info file format and the other-partitions
> > issues then.
> 
> I have somewhat lost track of th eother-partitions issue. Is the consensus
> on administrator-created $topdir/.Trash , and $uid directories within it?

Yes, and if that doesn't exist, the app can try using/creating a global
$topdir/.Trash-$uid directory. And we use $HOME/.Trash-$uid for the
homedir trash. 

We should specify exactly what permissions such an admin created
toplevel trash should have too. I think rwxrwx-wt is right. I.e. write,
execute for others and sticky bit set.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl at redhat.com    alla at lysator.liu.se 
He's a lonely small-town filmmaker on the wrong side of the law. She's an 
enchanted renegade vampire with only herself to blame. They fight crime! 




More information about the xdg mailing list