commit | 8bcaaabb1a023af4852dbf0dba76249982c62e40 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Mon Apr 21 19:22:49 2008 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Apr 21 19:22:49 2008 -0400 |
tree | f75b777a34a7ab46c8f125921c3be5690c790982 | |
parent | b4d15df9e2943eecc27e3281a002144b7e4f30c8 [diff] |
blkid: Keep cached filesystem information on EACCES and ENOENT errors When a nonprivileged user uses the blkid command, we want to keep the cached filesystem information, and opening a device file could result in an EACCESS or ENOENT (if an intervening directory is mode 700). We were previously testing for EPERM, which was really the wrong error code to be testing against. Addresses-Launchpad-Bug: #220275 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>