|
Bugzilla – Full Text Bug Listing |
| Summary: | Catastrophic effect of changed permissions of `/` | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | René Bertin <rjvbertin> |
| Component: | Sudoers | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | high | ||
| Priority: | low | ||
| Version: | 1.8.9 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
René Bertin
2019-04-24 05:35:51 MDT
Sudo tries to stat (and open) sudoers as a non-zero uid to make it possible to store sudoers on NFS. However, this will fail if the parent directory of sudoers is not accessible to a non-zero uid. I just committed the following change to retry as root in this case: https://www.sudo.ws/repos/sudo/rev/6a50adb25f2e That sounds like it should do the trick, thanks. I do not have a test environment around ATM in which I could test (and am not really motivated to change permissions on my `/` right now ;)) but I guess you did. |