summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/ccache/file
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1994-01-13 23:09:50 +0000
committerTheodore Tso <tytso@mit.edu>1994-01-13 23:09:50 +0000
commit0f9b5801c8e4d4abf025b12e6441c2c9b3e402f9 (patch)
tree87c06f3d90cc0fe5c781768f8afb3577f2d2db2e /src/lib/krb5/ccache/file
parentbabe11dab3d8aaffc86858229b2bf0232c136ed2 (diff)
downloadkrb5-0f9b5801c8e4d4abf025b12e6441c2c9b3e402f9.tar.gz
krb5-0f9b5801c8e4d4abf025b12e6441c2c9b3e402f9.tar.xz
krb5-0f9b5801c8e4d4abf025b12e6441c2c9b3e402f9.zip
Use the POSIX names for the permission bits
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3318 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/ccache/file')
-rw-r--r--src/lib/krb5/ccache/file/fcc_gennew.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/krb5/ccache/file/fcc_gennew.c b/src/lib/krb5/ccache/file/fcc_gennew.c
index 2771e8bc2d..d03154ee93 100644
--- a/src/lib/krb5/ccache/file/fcc_gennew.c
+++ b/src/lib/krb5/ccache/file/fcc_gennew.c
@@ -113,9 +113,9 @@ krb5_fcc_generate_new (id)
/* Ignore user's umask, set mode = 0600 */
#ifdef NOFCHMOD
- chmod(((krb5_fcc_data *) lid->data)->filename, S_IREAD | S_IWRITE);
+ chmod(((krb5_fcc_data *) lid->data)->filename, S_IRUSR | S_IWUSR);
#else
- fchmod(ret, S_IREAD | S_IWRITE);
+ fchmod(ret, S_IRUSR | S_IWUSR);
#endif
if ((cnt = write(ret, (char *)&fcc_fvno, sizeof(fcc_fvno)))
!= sizeof(fcc_fvno)) {