diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fcopy/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fcopy/main.c b/src/fcopy/main.c index 9f525f2a8..e7b4ffa8a 100644 --- a/src/fcopy/main.c +++ b/src/fcopy/main.c | |||
@@ -213,7 +213,7 @@ static char *check(const char *src) { | |||
213 | goto errexit; | 213 | goto errexit; |
214 | } | 214 | } |
215 | else { | 215 | else { |
216 | if (s.st_uid != user /* || s.st_gid != getgid()*/) | 216 | if (s.st_uid != user) |
217 | goto errexit; | 217 | goto errexit; |
218 | } | 218 | } |
219 | 219 | ||
@@ -222,7 +222,7 @@ static char *check(const char *src) { | |||
222 | return rsrc; // normal exit from the function | 222 | return rsrc; // normal exit from the function |
223 | 223 | ||
224 | errexit: | 224 | errexit: |
225 | fprintf(stderr, "Edddddrror fcopy: invalid file %s\n", src); | 225 | fprintf(stderr, "Error fcopy: invalid file %s\n", src); |
226 | exit(1); | 226 | exit(1); |
227 | } | 227 | } |
228 | 228 | ||