From 0c47e3585f3e4a2f365ad83c81f9095712fc34f3 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Wed, 1 Jun 2016 11:40:24 -0400 Subject: fixed globbing dot files --- src/firejail/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/firejail/fs.c b/src/firejail/fs.c index cfb724696..c38a9a32e 100644 --- a/src/firejail/fs.c +++ b/src/firejail/fs.c @@ -361,7 +361,7 @@ static void globbing(OPERATION op, const char *pattern, const char *noblacklist[ glob_t globbuf; // Profiles contain blacklists for files that might not exist on a user's machine. // GLOB_NOCHECK makes that okay. - int globerr = glob(pattern, GLOB_NOCHECK | GLOB_NOSORT, NULL, &globbuf); + int globerr = glob(pattern, GLOB_NOCHECK | GLOB_NOSORT | GLOB_PERIOD, NULL, &globbuf); if (globerr) { fprintf(stderr, "Error: failed to glob pattern %s\n", pattern); exit(1); -- cgit v1.2.3-70-g09d2