lkml.org 
[lkml]   [2001]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectquestion on /dev/tap0

Hi

would somebody be able to explain to me
when you try to open /dev/tap0 which is a
character device file which has the permissions

File: "tap0"
Size: 0 Filetype: Character Device
Mode: (0666/crw-rw-rw-)

when tried to open

[mistral@linux /dev]$ cat tap0
cat: tap0: Operation not permitted

and strace shows that it gets a permission error
open("tap0", O_RDONLY|0x8000) = -1 EPERM

is it just me or is this either
a) a bug
b) very misleading

thanks
James

--
---------------------------------------------
Check Out: http://stev.org
E-Mail: mistral@stev.org
10:50pm up 58 min, 3 users, load average: 0.30, 0.11, 0.03

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:17    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog