We are moving to solaris 10, so I have been given the task of validating lots of programs to check that they work.
I have come up with an oddity in a program that is run by root which creates a directory.
On a machine running solaris 2.6 it create the directory with the expected permissions of 777 but on the solaris 10 machine it creates it 755, if code amended to do a subsequent call toCode:mkdir(directory, S_IRWXU | S_IRWXG | S_IRWXO)
this then works on the solaris 10 machine.Code:chmod(directory, S_IRWXU | S_IRWXG | S_IRWXO)
Any idea why mkdir would work differently on solaris 10.
I am new to this, this is my first posting, and any help would be gratefully received.