--- Tahir Hashmi tahirbond@lycos.com wrote:
# chown root:root <filename> # chmod a+sx <filename>
Thanks for the help !
Also i am trying to uderstand how ot access using
read
and write. for that i would need to add the user as part of the group, which can access /dev/port.
How do i add myself to the group? i guess.. in that case i wont be in my original group.
I really think it would be best if you do it the accepted way (I consiously avoided the word "right" :-). Normal users aren't supposed to be accessing I/O ports directly. Try going thru _Linux Device Drivers_ by O'Rilley Publications for enlightenment.
Actually i was asking this because, we are planning to inteface external hardware to the paralle port and its a stand alone system. (in that case even if we are the root) it wont make a difference, i suppose?
would it be better if we ran the system in single user mode ???
-rahul
__________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/