diff --git a/run-as/package.c b/run-as/package.c index 4762c5f89..901e9e370 100644 --- a/run-as/package.c +++ b/run-as/package.c @@ -90,7 +90,7 @@ map_file(const char* filename, size_t* filesize) */ oldegid = getegid(); - if (setegid(AID_SYSTEM) < 0) { + if (setegid(AID_PACKAGE_INFO) < 0) { return NULL; }