Hi, While studying the various FreeBSD SCSI and SCSI RAID drivers, I noticed that the file mode (perm mask) varies per driver. So far, I've come across 0600, 0640 and 0644. I can't really see why any of these drivers would have anything other than 0600, as it would require root access or at least write perm to do anything useful with the card. Here's a quick illustration of what I'm refering to: aac 0640 (octal notation in code) amr 0600 (implemented as S_IRUSR | S_IWUSR) asr 0640 (octal notation in code) ciss 0600 (implemented as S_IRUSR | S_IWUSR) ida 0600 (implemented as S_IRUSR | S_IWUSR) iir 0644 (implemented as S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) ips 0600 (implemented as S_IRUSR | S_IWUSR) isp 0600 (octal notation in code) mly 0600 (implemented as S_IRUSR | S_IWUSR) I've attached a set of patches that make the aac, asr, iir and isp drivers conform to S_IRUSR | S_IWUSR. I don't have all of these cards, but the drivers build on today's CURRENT and these changes are rather minor. As always, comments are welcome. :) Regards, Andy > Andre Guibert de Bruet | Enterprise Software Consultant > > Silicon Landmark, LLC. | http://siliconlandmark.com/ >
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:42 UTC