mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Fedora is catching calls to open which have O_CREAT set w/o a mode.
Merge of master-melb:xfs-cmds:32535a by kenmcd. Fedora is catching calls to open which have O_CREAT set w/o a mode.
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ main(int argc, char **argv)
|
||||
|
||||
path = argv[optind];
|
||||
|
||||
if ((fd = open(path, oflags)) < 0) {
|
||||
if ((fd = open(path, oflags, 0600)) < 0) {
|
||||
fprintf(stderr,
|
||||
"error opening \"%s\": %s\n",
|
||||
path, strerror(errno));
|
||||
|
||||
Reference in New Issue
Block a user