-   Linux - Newbie (
-   -   allow non root users add devices to /proc/scsi/scsi ? (

ewto 10-14-2003 10:41 AM

allow non root users add devices to /proc/scsi/scsi ?
Is there a way for me to allow non-root users to add devices to /proc/scsi/scsi.
As in multi LUN support?

I tried chmod 777 /proc/scsi/scsi, but as I'm sure everyone here but me knew ... that won't work.
I've googled myself blind ... is there a way?


trickykid 10-14-2003 10:49 AM

Why are you trying to change permissions on a psuedo type file system? Should you be trying to create or change permissions of devices in /dev ??

ewto 10-14-2003 11:01 AM

Thanks for the quick reply.

The problem is that multi LUN support is not enabled ... and I have to enable it after any reboot by typing


echo "scsi add-single-device 0 0 0 1" > /proc/scsi/scsi
as root. I'm trying to make it so that users can enable the multi LUN support.
Am I looking at this bassackwards?


trickykid 10-14-2003 11:10 AM

Why don't you add that to the startup scripts, instead of manually doing it after the reboot.. makes more sense and you don't have to give your users access to run that command.

ewto 10-14-2003 11:23 AM

Thank you again for your time.
Like I said, apparently I was bassackwards on this one.

I didn't even think of a startup script, probably because I haven't used them before.

A trip to google and the man pages and I'll be all set.

Thanks again!

trickykid 10-14-2003 11:36 AM

Glad that worked out for you. Feel free to post if you run into any problems. :)

All times are GMT -5. The time now is 06:29 AM.