Skip to content

Commit f46638a

Browse files
committed
Cache files access rights were changed.
1 parent b70f942 commit f46638a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/soap/php_sdl.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1580,7 +1580,11 @@ static void add_sdl_to_cache(const char *fn, const char *uri, time_t t, sdlPtr s
15801580
HashTable tmp_bindings;
15811581
HashTable tmp_functions;
15821582

1583+
#ifdef ZEND_WIN32
15831584
f = open(fn,O_CREAT|O_WRONLY|O_EXCL|O_BINARY,S_IREAD|S_IWRITE);
1585+
#else
1586+
f = open(fn,O_CREAT|O_WRONLY|O_EXCL|O_BINARY,S_IREAD|S_IWRITE|S_IROTH|S_IWOTH|S_IRGRP|S_IWGRP);
1587+
#endif
15841588
if (f < 0) {return;}
15851589

15861590
zend_hash_init(&tmp_types, 0, NULL, NULL, 0);

0 commit comments

Comments
 (0)