Bug 110197
| Summary: | Make hard disk devices mode 0640? | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Need Real Name <vader> |
| Component: | udev | Assignee: | Harald Hoyer <harald> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | barryn, mitr, mjc, notting |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 3.9.2-1 | Doc Type: | Enhancement |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-12-21 06:17:48 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 136451 | ||
|
Description
Need Real Name
2003-11-16 21:25:08 UTC
Making this change for 3.9.2-1. Reopening. This bug is not in FC3Blocker and it should be. It's a security issue easy to fix : /etc/udev/permissions.d/50-udev.permissions - hd*:root:disk:660 + hd*:root:disk:640 I don't see that its a security issue per se - we don't ship suid disk apps. I agree with the change however. > I don't see that its a security issue Check FC2, and /dev/hd* have rw access to group disk. In fact, many other files have write access to group disk. $ find /dev/ -group disk -perm -020 -print | wc 16256 16256 237802 But MAKEDEV have change between fc2 and fc3 : diff 00macros.fc2 00macros.fc3 9c9 < =STORAGE 660 root disk --- > =STORAGE 640 root disk So, it's a udev or MAKEDEV bug. I am wrong in comment #c5 . According to MAKEDEV (from fc3) all devices with disk group should have root:disk 640 permission. Not only /dev/hd*. |