diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2005-07-29 09:59:24 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2005-07-29 09:59:24 +0000 |
commit | 85ca5e684ec2bb1ee12f72684a2f282f79b21ee3 (patch) | |
tree | db9939a361200a30266cd8699f8b37420840d682 /contrib/opie/libopie/readrec.c | |
parent | 87a236caf51c6e03f21e8fae25d313946da9e267 (diff) | |
download | src-85ca5e684ec2bb1ee12f72684a2f282f79b21ee3.tar.gz src-85ca5e684ec2bb1ee12f72684a2f282f79b21ee3.zip |
Create /etc/opiekeys with 0600, not 0644
PR: 84221
Notes
Notes:
svn path=/head/; revision=148506
Diffstat (limited to 'contrib/opie/libopie/readrec.c')
-rw-r--r-- | contrib/opie/libopie/readrec.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/opie/libopie/readrec.c b/contrib/opie/libopie/readrec.c index 98ec6589bc1c..f56af7ffb73d 100644 --- a/contrib/opie/libopie/readrec.c +++ b/contrib/opie/libopie/readrec.c @@ -14,6 +14,8 @@ you didn't get a copy, you may request one from <license@inner.net>. support. Fixed a debug message typo. Keep going after bogus records. Set read flag. Created by cmetz for OPIE 2.3. + +$FreeBSD$ */ #include "opie_cfg.h" @@ -94,7 +96,7 @@ int __opiereadrec FUNCTION((opie), struct opie *opie) FILE *f = NULL; int rval = -1; - if (!(f = __opieopen(KEY_FILE, 0, 0644))) { + if (!(f = __opieopen(KEY_FILE, 0, 0600))) { #if DEBUG syslog(LOG_DEBUG, "__opiereadrec: __opieopen(KEY_FILE..) failed!"); #endif /* DEBUG */ |