[Gllug] /tmp query was sudo query

Tom Gilbert tom at linuxbrit.co.uk
Tue Feb 5 21:33:16 UTC 2002


* Iain Conochie (iain at thargoid.co.uk) wrote:
> > 
> > 
> > hmm, tricky, that wasnt quite what i wanted todo.  the file in question
> > is created in ~/tmp/ using mkstemp.  so there's no real way of knowing
> > what the file name is going to be.  and i dont really want to make tmp
> > 777.
> 
> Erm - maybe I am being insanly stupid, but why not???? Should not _every_
> user have r-w-x perms on temp?? Obviosly setyting the stick bit as not to
> allow a user to delete another users file in /tmp

Not that he said ~/tmp...

Tom.
-- 
   .^.    .-------------------------------------------------------.
   /V\    | Tom Gilbert, London, England | http://linuxbrit.co.uk |
 /(   )\  | Open Source/UNIX consultant  | tom at linuxbrit.co.uk    |
  ^^-^^   `-------------------------------------------------------'

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list