LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   SUID not working properly (https://www.linuxquestions.org/questions/linux-general-1/suid-not-working-properly-151206/)

everythingand2 02-27-2004 11:57 AM

SUID not working properly
 
I'm wanting users to be able to run a shell script as root. I did a chmod 4711 myfile.sh and then I tried to run the script as a normal user. When I try running the script it gives me a "permission denied" error. Why is this happening if I have the SUID set correctly? Thanks for the help.

- Brad

kilgoretrout 02-27-2004 12:42 PM

Try chmod 4755. I think you might need read permissions to execute a bash script.


All times are GMT -5. The time now is 08:47 PM.