Subj : Re: chmod 2711 not excutable under linux To : comp.unix.solaris, comp.os.linux From : ibuprofin Date : Tue Dec 21 2004 03:15 pm In article <1103587465.056929.15590@z14g2000cwz.googlegroups.com>, susana73@hotmail.com wrote: >I have a script that is chmod 2711 (-rwx--s--x) so that it's excutable >for group and user but NOT readable by them. It works perfectly on >Solaris 8 for years. However, now I run the same file on Linux it does >not work. It returns with permission denied. Linux requires that the user be able to read the script to run it. Linux like most Unix ignores the SUID and SGID bit on shell scripts. If you must run this script SGID and/or must hide the script contents, create a SGID binary to run the script Old guy .