Accessing serial port information in privilege restricted directory
From: Paul Taylor (pault_rem_.ngea_at_virgin.net)
Date: 07/04/05
- Next message: Solbu: "Re: GUI front end to Shorewall?"
- Previous message: Crashdamage: "Re: GUI front end to Shorewall?"
- Next in thread: Paul Taylor: "Re: Accessing serial port information in privilege restricted directory"
- Reply: Paul Taylor: "Re: Accessing serial port information in privilege restricted directory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 04 Jul 2005 18:54:40 +0100
Hi,
I am writing an application that needs to access information stored in
files /proc/tty/device/*, but the directory /proc/tty/device only
allows root access. The directory contains files that indicate the serial
ports available for use on the system, both traditional and USB adapter
types.
Has anyone got an idea why the /proc/tty/device directory is restricted
to root? Basically, I'm trying to work out what the best approach to take
with my application, which runs with user privileges.
Thanks,
Paul.
-- Remove _rem_ before replying by email.
- Next message: Solbu: "Re: GUI front end to Shorewall?"
- Previous message: Crashdamage: "Re: GUI front end to Shorewall?"
- Next in thread: Paul Taylor: "Re: Accessing serial port information in privilege restricted directory"
- Reply: Paul Taylor: "Re: Accessing serial port information in privilege restricted directory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|