diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/x11.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/firejail/x11.c b/src/firejail/x11.c index ec8775370..8de8c9ec7 100644 --- a/src/firejail/x11.c +++ b/src/firejail/x11.c | |||
@@ -1190,10 +1190,7 @@ void x11_xorg(void) { | |||
1190 | fprintf(stderr, "Error: cannot mount the new .Xauthority file\n"); | 1190 | fprintf(stderr, "Error: cannot mount the new .Xauthority file\n"); |
1191 | exit(1); | 1191 | exit(1); |
1192 | } | 1192 | } |
1193 | // just in case... | 1193 | |
1194 | if (set_perms(dest, getuid(), getgid(), 0600)) | ||
1195 | errExit("set_perms"); | ||
1196 | |||
1197 | // check /proc/self/mountinfo to confirm the mount is ok | 1194 | // check /proc/self/mountinfo to confirm the mount is ok |
1198 | MountData *mptr = get_last_mount(); | 1195 | MountData *mptr = get_last_mount(); |
1199 | if (strcmp(mptr->dir, dest) != 0) | 1196 | if (strcmp(mptr->dir, dest) != 0) |