E
Eric J.Hu
Hi,
I have a question about the open function in linux. I want to create a file with permission 666(read and write by others), the code as following:
open("/tmp/test", O_CREAT, 0666);
But the file always can not set the others write permission, could someone help me on this question?
Thanks,
Eric
I have a question about the open function in linux. I want to create a file with permission 666(read and write by others), the code as following:
open("/tmp/test", O_CREAT, 0666);
But the file always can not set the others write permission, could someone help me on this question?
Thanks,
Eric