Ticket: 6286
authorZhanna Tsitkov <tsitkova@mit.edu>
Fri, 5 Dec 2008 19:59:35 +0000 (19:59 +0000)
committerZhanna Tsitkov <tsitkova@mit.edu>
Fri, 5 Dec 2008 19:59:35 +0000 (19:59 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21290 dc483132-0cff-0310-8789-dd5450dbe970

src/util/profile/prof_init.c

index 248ea5df0f212638fd2c7aee7a48837195e595c9..d8653049cf8571810f562415e28276a71bb027fc 100644 (file)
@@ -42,7 +42,7 @@ profile_init(const_profile_filespec_t *files, profile_t *ret_profile)
            for (fs = files; !PROFILE_LAST_FILESPEC(*fs); fs++) {
                retval = profile_open_file(*fs, &new_file);
                /* if this file is missing, skip to the next */
-               if (retval == ENOENT || retval == EACCES) {
+               if (retval == ENOENT || retval == EACCES || retval == EPERM) {
                        continue;
                }
                if (retval) {