Use the POSIX names for the permission bits
authorTheodore Tso <tytso@mit.edu>
Thu, 13 Jan 1994 23:09:50 +0000 (23:09 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 13 Jan 1994 23:09:50 +0000 (23:09 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3318 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/file/fcc_gennew.c

index 2771e8bc2da222b278465ac99fcb39b31bf209ba..d03154ee933c01a981e9e675daf07006a83d51a0 100644 (file)
@@ -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)) {