From: Theodore Tso Date: Thu, 13 Jan 1994 23:09:50 +0000 (+0000) Subject: Use the POSIX names for the permission bits X-Git-Tag: krb5-1.0-beta3~44 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0f9b5801c8e4d4abf025b12e6441c2c9b3e402f9;p=krb5.git Use the POSIX names for the permission bits git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3318 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/ccache/file/fcc_gennew.c b/src/lib/krb5/ccache/file/fcc_gennew.c index 2771e8bc2..d03154ee9 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)) {