--- pam-0.75/modules/pam_console/chmod.c.orig Wed May 23 04:13:11 2001 +++ pam-0.75/modules/pam_console/chmod.c Wed May 23 04:24:17 2001 @@ -161,7 +161,9 @@ { if(mntent->mnt_dir && mntent->mnt_fsname && - (fnmatch(dir, mntent->mnt_dir, 0) == 0)) + (fnmatch(dir, mntent->mnt_dir, 0) == 0) + && ! (fnmatch(dir, mntent->mnt_fsname, 0) == 0) + ) { errors |= change_file(mntent->mnt_fsname, changes, TRUE, user, group); }