Trash specification, version 0.1

Alexander Larsson alexl at redhat.com
Fri Sep 10 11:19:11 EEST 2004


On Thu, 2004-09-09 at 19:36 +0200, David Faure wrote:
> On Thursday 09 September 2004 19:31, Alexander Larsson wrote:
> > On Thu, 2004-09-09 at 19:19 +0200, David Faure wrote:
> > > On Thursday 02 September 2004 13:12, Alexander Larsson wrote:
> > > > 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.
> > > 
> > > That's probably the best permissions to give to the .Trash directory,
> > > but the minimum requirements are -------wt, right?
> > > 
> > > I mean the implementation should require that at least S_IWOTH | S_IXOTH | S_ISVTX are set,
> > > and it's a directory, and it's not symlink, and owned by uid==0. Does that look right?
> > 
> > Yeah. That sounds right. And probably that S_IROTH is not set.
> 
> Is it a big problem to be able to read the contents of the .Trash directory?
> It simply tells me who has a trash bin in there, but nothing else...

Its not a big problem, but I also don't see why anyone should know that
you have trash there.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl at redhat.com    alla at lysator.liu.se 
He's a gun-slinging shark-wrestling dog-catcher who hides his scarred face 
behind a mask. She's a foxy mute socialite with a song in her heart and a 
spring in her step. They fight crime! 




More information about the xdg mailing list