Subj : Re: chmod 2711 not excutable under linux To : comp.unix.solaris,comp.os.linux From : Barry Margolin Date : Mon Dec 20 2004 09:54 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. Can anyone please help? > > % ./script.sh > ./script.sh: Permission denied. > It's just a simple shell script. The OS is SuSE Linux 9.1. Many flavors of Unix don't support setuid/setgid scripts. Solaris is one of the exceptions that does. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me *** .