Use chmod 6755 which changes it to rwsr_sr_x, no such thing as rwsr_sr_s....
however, a note of warning...the setuid and setgid mode (the 2 s's) allows any
user to run the program and getting the identity of the owner of the file...
if it's root, then the user will have root access. The program that you want
to setgid/setuid has to be secure. If it's a shell script -- it'll work but
it's dangerous, because if the user were able to run another program or quit
the shell, he will get root level access...
On 10 Aug 01 at 13:04, JMG wrote:
>
> how do i set the file permission to rwsr_sr_s? i have a script that won't
> run if it is rwxr_x_r_x. thanks.
>
> jmg
>
> _
> Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
>
> To subscribe to the Linux Newbies' List: send "subscribe" in the body to
>[EMAIL PROTECTED]
>
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]