On Tue, 28 Oct 1997, Ralph Winslow wrote: : : On 29-Oct-97 Bao C. Ha wrote: : > : >What is the permission mode of S (capital S), like : >-r-Sr--r-- fpexe ??? : > : The S setuid in the position you show above or setgid in -r-xr-S---. You set : the setuid bit as above by: : : chmod 4544 fpexe
Well, close. The capital "S" indicates that there is _no_ underlying execute permission, so in this case the suid bit is useless. kepler:~ $ touch test kepler:~ $ ls -lF test -rw-r----- 1 nnorman nnorman 0 Oct 28 16:50 test kepler:~ $ chmod 4544 test kepler:~ $ ls -lF test -r-sr--r-- 1 nnorman nnorman 0 Oct 28 16:50 test* kepler:~ $ chmod 4444 test kepler:~ $ ls -lF test -r-Sr--r-- 1 nnorman nnorman 0 Oct 28 16:50 test : : Run "man chmod" for more detail. : : >How do I set something like that? -- Nathan Norman MidcoNet - 410 South Phillips Avenue - Sioux Falls, SD 57104 Voice: (605) 334-4454 Fax: (605) 335-1173 email: [EMAIL PROTECTED] or [EMAIL PROTECTED] PGP Key ID: 0xA33B86E9 - Public key available at keyservers PGP Key fingerprint: CE03 10AF 3281 1858 9D32 C2AB 936D C472 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .