Re: chmod 4755 ./somedir

Andreas Schwab (
Fri, 25 Jul 97 11:26:40 +0200

Marcel Hild <> writes:

|> if i do a chmod 2755 on a directory it becomes SGID and new files will belong
|> to the group of that directory. but if i do chmod 4755 the directory becomes
|> SUID: drwsr-xr-x but new files dont belong to the owner of the SUID dir.
|> does the kernel ignore SUID on directories or has it some rather invisible
|> effects?

SUID has no meaning at all on directories.

Andreas Schwab                                      "And now for something              completely different"