http://qs321.pair.com?node_id=313333


in reply to "not enough arguments" with 'mkdir' command

When I try to supply a mask argument to the above, the directory gets created but not with the mask I used.

When you say "but not with the mask I used", what exactly do you mean? Do you supply '0777', but it is created '0755'?

What is the mask you are supplying, what are the permissions on the directory, what are you expecting the new directory's permissions to be - and finally, what is your umask?