Does anyone know of a bug with the chmod() function in PHP version 4.1.2? Running Apache 1.3.20 on Linux.
For example, chmod("somefile", 0700); will result in "somefile" having very wierd permissions (that do not reflect the second parameter in the function, 0700)