What is this chmod u+s and how do I use it?
After doing this to a program say, eg tcpdump can I actually run it from a PHP page using exec or system or whatever that is right?
Hope someone can provide some explanation and example.
Thanks James
from manual
....
Attempts to change the mode of the file specified by filename to that given in mode. Note that mode is not automatically assumed to be an octal value, so strings (such as "g+w") will not work properly. To ensure the expected operation, you need to prefix mode with a zero (0):
Attempts to change the mode of the file specified by filename to that given in mode.
Note that mode is not automatically assumed to be an octal value, so strings (such as "g+w") will not work properly. To ensure the expected operation, you need to prefix mode with a zero (0):