Changeset 422f5b7 in mod_gnutls for src/gnutls_cache.c
- Timestamp:
- Jan 29, 2013, 3:41:38 PM (10 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, jessie-backports, main, master, msva, proxy-ticket, upstream
- Children:
- e2b936e
- Parents:
- 198b9f0
- git-author:
- Daniel Kahn Gillmor <dkg@…> (01/18/13 17:09:30)
- git-committer:
- Daniel Kahn Gillmor <dkg@…> (01/29/13 15:41:38)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gnutls_cache.c
r198b9f0 r422f5b7 543 543 /* Running as Root */ 544 544 if (path1 && geteuid() == 0) { 545 chown(path1, ap_unixd_config.user_id, -1); 545 if (0 != chown(path1, ap_unixd_config.user_id, -1)) 546 ap_log_error(APLOG_MARK, APLOG_NOTICE, -1, s, 547 "GnuTLS: could not chown cache path1 `%s' to uid %d (errno: %d)", 548 path1, ap_unixd_config.user_id, errno); 546 549 if (path2 != NULL) { 547 chown(path2, ap_unixd_config.user_id, -1); 550 if (0 != chown(path2, ap_unixd_config.user_id, -1)) 551 ap_log_error(APLOG_MARK, APLOG_NOTICE, -1, s, 552 "GnuTLS: could not chown cache path2 `%s' to uid %d (errno: %d)", 553 path2, ap_unixd_config.user_id, errno); 548 554 } 549 555 }
Note: See TracChangeset
for help on using the changeset viewer.