=== modified file 'plugins.d/mandos-client.c' --- plugins.d/mandos-client.c 2014-06-08 02:31:50 +0000 +++ plugins.d/mandos-client.c 2014-06-08 03:10:08 +0000 @@ -2591,7 +2591,8 @@ /* Removes the GPGME temp directory and all files inside */ if(tempdir != NULL){ struct dirent **direntries = NULL; - int tempdir_fd = (int)TEMP_FAILURE_RETRY(open(tempdir, O_RDONLY)); + int tempdir_fd = (int)TEMP_FAILURE_RETRY(open(tempdir, O_RDONLY | + O_NOFOLLOW)); if(tempdir_fd == -1){ perror_plus("open"); } else {