diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2000-04-23 12:24:11 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2000-04-23 12:24:11 +0000 |
commit | 9cbb629187a09abe77ddf540034eb966753c8c6d (patch) | |
tree | 6c43d6857d1c051ff43cd109b6e0b91251bdf7e8 /file_io | |
parent | 0b8cb089ebc0d4395274c0e218bc1162dcaee170 (diff) | |
download | libapr-9cbb629187a09abe77ddf540034eb966753c8c6d.tar.gz |
ap_open(..,APR_OS_DEFAULT,..) uses perms 0666 instead of 0777 on
Unix; access_log and error_log now created with these perms; non-
Unix is unaffected
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59937 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io')
-rw-r--r-- | file_io/unix/open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/file_io/unix/open.c b/file_io/unix/open.c index 6695aa440..6e0039ac7 100644 --- a/file_io/unix/open.c +++ b/file_io/unix/open.c @@ -130,7 +130,7 @@ ap_status_t ap_open(ap_file_t **new, const char *fname, ap_int32_t flag, ap_fil } if (perm == APR_OS_DEFAULT) { - (*new)->filedes = open(fname, oflags, 0777); + (*new)->filedes = open(fname, oflags, 0666); } else { (*new)->filedes = open(fname, oflags, ap_unix_get_fileperms(perm)); |