aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fcopy/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fcopy/main.c b/src/fcopy/main.c
index b9d2c19a8..da5ade428 100644
--- a/src/fcopy/main.c
+++ b/src/fcopy/main.c
@@ -200,7 +200,8 @@ static char *check(const char *src) {
200 goto errexit; 200 goto errexit;
201 201
202 // check uid 202 // check uid
203 if (s.st_uid != getuid() || s.st_gid != getgid()) 203 // checking gid will fail for files with a larger group such as /usr/bin/mutt_dotlock
204 if (s.st_uid != getuid()/* || s.st_gid != getgid()*/)
204 goto errexit; 205 goto errexit;
205 206
206 // dir, link, regular file 207 // dir, link, regular file