[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in mintlib44's access() function



>  So where's the point of this function?

The point of access() is precisely for set-[ug]id programs: normally
when you want to know if something is allowed, you just try it. But with
a set-uid root program, everything will succeed. So in that case you can
use access() to check if the real user should be allowed to do things.

> ciao,
> TeSche

Bart.
-- 
  /                           Bart Schuller                            \
 /P.B.Schuller@TWI.TUDelft.NL               webmaster@www.twi.tudelft.nl\
<a href=http://www.twi.tudelft.nl/People/P.B.Schuller.html>My WWW page</a>
 \       Insert your favourite witty saying here, I can't choose!       /