Trash specification, version 0.1

Alexander Larsson alexl at redhat.com
Thu Sep 9 20:31:09 EEST 2004


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.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl at redhat.com    alla at lysator.liu.se 
He's a war-weary voodoo jungle king on the wrong side of the law. She's a 
vivacious foul-mouthed femme fatale with a flame-thrower. They fight crime! 




More information about the xdg mailing list