Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jun 1998 09:25:01 +0200
From:      Gerd Truschinski <agni@zedat.fu-berlin.de>
To:        Joel Ray Holveck <joelh@gnu.org>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: /dev/io
Message-ID:  <3.0.5.32.19980627092501.007ea760@mail.zedat.fu-berlin.de>
In-Reply-To: <199806270521.AAA01028@detlev.UUCP>
References:  <199806260329.FAA13506@freebsd.first.gmd.de> <199806260329.FAA13506@freebsd.first.gmd.de>

next in thread | previous in thread | raw e-mail | index | archive | help
At 00:21 27.06.98 -0500, Joel Ray Holveck wrote:
>> Hi there,
>> I am running current from around 11. May.
>> I try to open /dev/io as user 'dose.wheel' with the following permissions:
>>  crw-rw----  1 dose  wheel    2,  14 Mar 24 13:14 /dev/io
>> but get always 'Operation not permitted' errors. I must be root.
>> Is the man page to old or did I miss something?
>
>Can you please tell us the exact operation you tried?  A code snippet
>would be nice.
>

        dev_file = open("/dev/io", O_RDWR);
        if (dev_file == -1) {
                perror("open /dev/io ");
                exit (errno);
        }
And I get:
  open /dev/io : Operation not permitted

/gT/
-- 
Gerd Truschinski           | Yes, this is the sort of scenario I
Freie Universitaet Berlin  | think up to amuse myself in the evenings.
ZEDAT                      | -- with confirmation from Larisa --------
Taku Str. 9, Raum 020        Phone: +49 30 838 75 500

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19980627092501.007ea760>