From: Florian Frank Date: 2004-12-04T20:15:11+09:00 Subject: Re: mkdir, mkdir_p in FileUtils and mode Minero Aoki wrote: >Which operating system are you using? > > I tried this on Linux, Dragonfly BSD and Mac OSX. The s-bit was ignored on all of them, but this could of course be coincidential. The Linux man page of mkdir(2) said the following: "Under Linux apart from the permission bits, only the S_ISVTX mode bit is honored. That is, under Linux the created directory actually gets mode (mode & ~umask & 01777)." >It seems that ruby ignores `mode' argument on Win32 systems >(Because mkdir(2) does not take 2nd argument there). > > True, it also says so in Ruby's Dir::mkdir documentation. -- Florian Frank