In unix if you create and open a file by using 9 digits numbers in the open function it seems to work but in C++ you only don't have a parameter to do that rather you have ios_base. Just wondering if there are owner,group and world settings that can be set on a file when it is created in C++?

File permissions are platform specific, so you only get access to them using platform specific APIs.

that's what i thought. thanks for help. Sorry for all the questions teacher doesn't really explain anything about file structures and the book we are using is super old. .