On Wed, 6 Jun 2007 21:33:20 -0500 Mike Gerdts wrote:
> This seems to favor the use of never specifying the full path to all
> of your commands, rather set PATH.  Builtins can then be picked up
> automatically without thinking about it.

> > chown

> How does this work?  Surely ksh93 doesn't install setuid by default...
>  Does it try to use the builtin then try chown in $PATH if it gets
> EPERM?

not so fast

Sun Microsystems Inc.   SunOS 5.11      snv_51  October 2007
$ ls -l /bin/chown
-r-xr-xr-x   1 root     bin        13176 Oct 23  2006 /bin/chown

where does setuid come into play?
what chown(1) provides more than chown(2)?


Reply via email to