[Bug 244593] New: Wrong permissions for special formatted floppies in /dev
https://bugzilla.novell.com/show_bug.cgi?id=244593 Summary: Wrong permissions for special formatted floppies in /dev Product: openSUSE 10.2 Version: Final Platform: i686 OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: arahne@arahne.si QAContact: qa@suse.de Some applications need direct access to unformatted floppy, or more correctly, to floppies which are not formatted in MSDOS. In our case we are using /dev/fd0u1440 But nobody has permissions to do anything with it since it is b--------- A normal end user application can not change these premissions. Correct behavior would be that the user, which is logged in the desktop, has the permission to read/write to such devices. This worked on previous verions of SUSE. Or if you had to change the permissions, they were persistnet after reboot. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=244593 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |kasievers@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=244593 ------- Comment #1 from kasievers@novell.com 2007-02-13 11:36 MST ------- Care to try to add the option (it's octal 0640): -M 416 to: "create_floppy_devices -c -t $attr{cmos} -m %M $root/%k" in: /etc/udev/rules.d/50-udev-default.rules and see if that gets at least the usual root access? These special nodes are not exported by sysfs, so there is no real support in udev (only this weird hack with the floppy program). There is absolutely no support in HAL, but the "local user" permission settings depend entirely on HAL support. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=244593 kasievers@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Critical |Normal -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=244593 ------- Comment #2 from arahne@arahne.si 2007-02-14 05:51 MST ------- Adding that option does give the root the access to this device. But it does not solve our problem. We need to have access as normal user. In the same way as local user gets read/write access to USB memory key, just without the mouning of the device. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=244593 kasievers@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #3 from kasievers@novell.com 2007-02-14 10:50 MST ------- Thanks, I'll fix udev to apply the same permissions to the additional nodes, which udev applies to the "main node" which the kernel exports. For the "local user" assignment there is currently no way to get these additional nodes without real kernel-devices into the logic (HAL+resmgr). To work around this for now, you may just disable the udev RUN-rule completely, and create static nodes in /lib/udev/devices/. These nodes get copied with the same permissions to /dev at every reboot. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=244593 kasievers@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WONTFIX ------- Comment #4 from kasievers@novell.com 2007-03-08 07:14 MST ------- We have no way to handle the additional floppy nodes today to assign user ownerships, because the kernel doesn't export information about these devices. For 10.3 the additional nodes will be 0640 and belong to root:disk, and a custom rule to specify other settings will work. For 10.2 we would only update udev if a major bug needs to be fixed. If that's the case, we can add that fix too. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com