Index: src/df.c =================================================================== RCS file: /cvsroot/coreutils/coreutils/src/df.c,v retrieving revision 1.168 diff -p -d -U6 -r1.168 df.c --- src/df.c 16 Aug 2005 20:33:40 -0000 1.168 +++ src/df.c 12 Oct 2005 06:10:18 -0000 @@ -297,12 +297,14 @@ show_dev (char const *disk, char const * but statfs doesn't do that on most systems. */ if (!stat_file) stat_file = mount_point ? mount_point : disk; if (get_fs_usage (stat_file, disk, &fsu)) { + if(errno == EACCES && !show_all_fs && !show_listed_fs) + return; /* Ignore mount points we can't access */ error (0, errno, "%s", quote (stat_file)); exit_status = EXIT_FAILURE; return; } if (fsu.fsu_blocks == 0 && !show_all_fs && !show_listed_fs)