#226 spec file creation/ownership of directories is incomplete

open
nobody
None
5
2012-10-06
2008-06-07
Joachim Namislow
No

The spec file ndiswrapper.spec included in the ndiswrapper-1.53 source package does neither create directory /etc/ndiswrapper/ nor own it. It is created on the fly by ndiswrapper when installing firmware and is not owned by any package afterwards. /etc/ndiswrapper/ should be included into the ndiswrapper binary RPM.
Moreover, /lib/modules/uname -r/misc is created and contains ndiswrapper.ko after installing the corresponding kernel-module-ndiswrapper RPM, but /lib/modules/uname -r/misc is not owned by the latter. Furthermore, this module path deviates from the standard location which is /lib/modules/uname -r/kernel/drivers/misc and which should be used. Finally, ndiswrapper.ko should be set executable like other modules belonging to the main kernel RPM.

Discussion