mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r7026] Purpose:
Bug Fix Description: On HP-UX platforms, the "open()" function needs to specify that the file being created has permissions S_IRWXU, which means that it gives read/write/execute permissions to the user who created the file (how nice of it!). Solution: Added the S_IRWXU flag to the open() function call. Platforms tested: HP-UX 11 Arabica, Modi4, Verbena Misc. update:
This commit is contained in:
parent
2f67716abc
commit
09da63a8b9
@ -507,7 +507,7 @@ do_write_test(unsigned long file_size, unsigned long min_buf_size,
|
||||
|
||||
/* do uncompressed data write */
|
||||
gettimeofday(&timer_start, NULL);
|
||||
output = open(filename, O_RDWR | O_CREAT);
|
||||
output = open(filename, O_RDWR | O_CREAT, S_IRWXU);
|
||||
|
||||
if (output == -1)
|
||||
error(strerror(errno));
|
||||
|
Loading…
Reference in New Issue
Block a user