HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Serial device: is there any way to KEEP the pe...
Operating System - HP-UX
1834199
Members
2504
Online
110065
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2001 05:49 PM
02-21-2001 05:49 PM
HI. We have the following problem and I'm sure that there is a simple command that we don't know to use.
So, any help is appreciated.
We are trying to download information from a program to a board through a serial port and JTAG device. Our problem seems to be the serial port.
It has these permissions:
crw--w--w- 1 root bin 1 0x000000 Feb 21 10:01 /dev/tty0p0
So, as root, we change those permissions and we can then, with a simple terminal, talk to the board.
BUT we then try to download a design to the board and the permissions change to the crw--w--w- again, and the download fails.
Q: is there any way to KEEP the permissions set to 777?
or is it something else completely?
Thank you for any and all help.
Kerri
So, any help is appreciated.
We are trying to download information from a program to a board through a serial port and JTAG device. Our problem seems to be the serial port.
It has these permissions:
crw--w--w- 1 root bin 1 0x000000 Feb 21 10:01 /dev/tty0p0
So, as root, we change those permissions and we can then, with a simple terminal, talk to the board.
BUT we then try to download a design to the board and the permissions change to the crw--w--w- again, and the download fails.
Q: is there any way to KEEP the permissions set to 777?
or is it something else completely?
Thank you for any and all help.
Kerri
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2001 05:51 PM
02-21-2001 05:51 PM
Re: Serial device: is there any way to KEEP the permissions set to 777
oops, sorry, I'm using a HP Visualize J5600 and running HPUX 11.0
Kerri
Kerri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2001 11:53 PM
02-21-2001 11:53 PM
Solution
Hi,
the reset of the device permission is generated from the getty. If you never use the port as a login port you could disable the getty procees in /etc/inittab.
Change at the getty line the parameter respawn to off, save /etc/inittab and run init q.
Now you can chmod 666 /dev/tty0p0 and will be save.
Other way is to duplicate the device file ie:
cd /dev
tar cf - tty0p0 |(cd /tmp;tar xvf -)
mv /tmp/tty0p0 /dev/tty0p0_2
chmod 666 /dev/tty0p0_2
Then you have to change the device file configuration at your application to /dev/tty0p0_2
Regards
the reset of the device permission is generated from the getty. If you never use the port as a login port you could disable the getty procees in /etc/inittab.
Change at the getty line the parameter respawn to off, save /etc/inittab and run init q.
Now you can chmod 666 /dev/tty0p0 and will be save.
Other way is to duplicate the device file ie:
cd /dev
tar cf - tty0p0 |(cd /tmp;tar xvf -)
mv /tmp/tty0p0 /dev/tty0p0_2
chmod 666 /dev/tty0p0_2
Then you have to change the device file configuration at your application to /dev/tty0p0_2
Regards
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP