| 352 | /// Check that the process user id matches the owner of the data. |
| 353 | const auto effective_user_id = geteuid(); |
| 354 | struct stat statbuf; |
| 355 | if (stat(path.c_str(), &statbuf) == 0 && effective_user_id != statbuf.st_uid) |
| 356 | { |
| 357 | const auto effective_user = getUserName(effective_user_id); |