diff options
author | 2018-12-13 16:01:20 +0100 | |
---|---|---|
committer | 2018-12-13 16:01:20 +0100 | |
commit | 4cef5c832c2aeedb7e97c2709c7ef83a07e6c6a0 (patch) | |
tree | bf1ef25e7840626daf985ebc126e0678d921e194 /src/firecfg | |
parent | pulseaudio: use create_dir_as_user(); small adjustments (diff) | |
download | firejail-4cef5c832c2aeedb7e97c2709c7ef83a07e6c6a0.tar.gz firejail-4cef5c832c2aeedb7e97c2709c7ef83a07e6c6a0.tar.zst firejail-4cef5c832c2aeedb7e97c2709c7ef83a07e6c6a0.zip |
firecfg: improve error string
emphasize that only firecfg needs all permissions, not firejail
Diffstat (limited to 'src/firecfg')
-rw-r--r-- | src/firecfg/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firecfg/main.c b/src/firecfg/main.c index 96ae37bd0..29407561e 100644 --- a/src/firecfg/main.c +++ b/src/firecfg/main.c | |||
@@ -342,7 +342,7 @@ int main(int argc, char **argv) { | |||
342 | // exit if the directory does not exist, or if we don't have access to it | 342 | // exit if the directory does not exist, or if we don't have access to it |
343 | if (access(arg_bindir, R_OK | W_OK | X_OK)) { | 343 | if (access(arg_bindir, R_OK | W_OK | X_OK)) { |
344 | if (errno == EACCES) | 344 | if (errno == EACCES) |
345 | fprintf(stderr, "Error: cannot access directory %s: full permissions required\n", arg_bindir); | 345 | fprintf(stderr, "Error: firecfg needs full permissions on directory %s\n", arg_bindir); |
346 | else { | 346 | else { |
347 | perror("access"); | 347 | perror("access"); |
348 | fprintf(stderr, "Error: cannot access directory %s\n", arg_bindir); | 348 | fprintf(stderr, "Error: cannot access directory %s\n", arg_bindir); |