Subj : Re: chmod 2711 not excutable under linux To : comp.unix.solaris,comp.os.linux From : Michael Vilain Date : Mon Dec 20 2004 05:24 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. It may be the way Linux has implemented the Execute permission. Try setting the read permission as well. -- DeeDee, don't press that button! DeeDee! NO! Dee... .