am 18860c52: Enable run-as to read packages.list now owned by package_info.
* commit '18860c524915bc991a9015bdbab32e918f5298d7': Enable run-as to read packages.list now owned by package_info.
This commit is contained in:
commit
3b46298c98
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue