Johnny_doubts asked:
I have a script on a server that has permission —s–x— but when i try to access/run it, I get a permission denied. The user I try with doesn’t own the file nor is the member of the group that owns the file but with the suid set shouldn’t it work? oh btw, I have a ksh.
My answer:
You can’t execute a script unless the executable bit is set. The setuid bit is not relevant to whether you can execute it.
View the full question and any other answers on Server Fault.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
The post File permission issue with setuid bit set appeared first on Ringing Liberty.