System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Modem device file not accessible.

 
Durvesh Mendhekar
Regular Advisor

Modem device file not accessible.

Hi,

We have modem configured on our HP-UX 11i system
but the modem is not working because of permissions.
crw--w--w- 1 bin bin 44 0x020600 May 20 11:30 /dev/tty2a7

Regards,
Durvesh M
3 REPLIES
Steven Schweda
Honored Contributor

Re: Modem device file not accessible.

chmod?
Durvesh Mendhekar
Regular Advisor

Re: Modem device file not accessible.

Hi,

If i give permission 777 to this file then what will be the impact on the system.
This permission remains same after reboot?

Regards,
Durvesh
Bill Hassell
Honored Contributor

Re: Modem device file not accessible.

Never give any file or directory 777 permission until you understn=and what it means. A device file is not a program or a script so it should never have the execute bits set. The normal setting is always 666 or crw-rw-rw. But note that it will probably be changed by the program you are using to talk to the modem. If you don't terminate the program correctly, it may leave the device file with bad permission such as your 622 setting. Just change the permission back to 666 if necessary when the modem is not being used.


Bill Hassell, sysadmin