[olug] chmod u+s

Phil Brutsche phil at brutsche.us
Thu Jun 3 23:29:30 UTC 2004


Jay Hannah wrote:

> 
> Huh? What good is the setUID bit if it doesn't let me do this?
> 
> Setup:
> root at chinstrap log # ls -al mail.log.cat
> -rwsr-xr-x    1 root     root           22 Jun  3 17:03 mail.log.cat

The question you need to ask yourself is "does the suid bit work on 
shell scripts?".  It doesn't here (Debian "testing" aka sarge, kernel 
2.6.7-rc2-bk1)

-- 

Phil Brutsche
phil at brutsche.us


More information about the OLUG mailing list