On Thu, Mar 07, 2002 at 06:49:38PM -0800, Gordon Messmer wrote:
> The SUID bit has nothing to do with not being able to copy the file. 
> Users can't copy /usr/bin/passwd because they don't have read access to
> the file.  That doesn't quite meet the criteria of the original request,
> which was to restrict copying while allowing users to read the contents
> of the file.
sorry I was wrong, I test to make file with same permission and ownership with passwd 
has, then file can't be copied

> On Thu, 2002-03-07 at 10:37, Lewi wrote:
> > i found that binary has a suid bit, group and other just have x bit
> > can't be copy by user, like /usr/bin/passwd.
> > 
> > so the conclusion is, only root can prevent casual copy of file
> > 
> > i think it just for security reason, suid bit can't be copied
> > 
> > thank you all
> 



-- 
ichtus
------
Lewi Supranata .K
ICQ: 50643061

Attachment: msg73594/pgp00000.pgp
Description: PGP signature

Reply via email to