if you are running BSD, expect it not to work. There is a call to mkdir with only one parameter. It is the ONLY mkdir in the whole thing, but I don't know what module is in... It should be : mkdir(what-ever-it-was, 0755); -abc