Trash specification, version 0.1

David Faure dfaure at trolltech.com
Thu Sep 9 20:36:50 EEST 2004


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...

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).



More information about the xdg mailing list