chmod +s - LinuxQuestions.org
Using chmod +s on (executable) files will do as kschiwal said. Using it on a directory is slightly different. "Executing" a directory (x permission) means the possibility to access anything in the directory (either file or subdir). This is different from ...