Results 1 to 9 of 9
hi i've been using knoppix for a few weeks because of a class at the university. this class is basically learning how to create processes in linux using C language. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-29-2005 #1
i've been using knoppix for a few weeks because of a class at the university. this class is basically learning how to create processes in linux using C language.
the problem i'm having is the following:
im tying to use the named pipes, known as FIFO's. the thing is, when i try to create a normal unnamed pipe, it creates it and works without any problem. however, when i want to create a FIFO, it doesn't create it.
it's not a instructional error, as i've shown this problem to my teacher.
he said it might be because simply knoppix doesn't give me permitions to create this FIFO.
any sugestions on what I should do, if in fact there is something i can do?
- 11-29-2005 #2
How are you creating this FIFO? What is the exact mkfifo invocation you're using?
- 12-02-2005 #3
sorry about the delay... no internet acess for the last few days!
the code i'm using is:
anyway, i hope this brings new light to someone who might be able to help me out...
- 12-02-2005 #4
Okay, include <errno.h> and <stdio.h>, then add:
- 12-03-2005 #5
Ok, i'll do that.
I've been told by a friend that Knoppix really doesn't allow the creation of FIFO's, but still there could be a way...
- 12-03-2005 #6
Ok, so this is what came up:
Operation Not Permitted
Maybe knoppix really doens allow the creation of FIFO's.
- 12-03-2005 #7
Are you root at the time?
- 12-04-2005 #8
yes,i am... any suggestions yet, or are you as lost as me?
- 12-05-2005 #9
Well according toCode:
EPERM mode requested creation of something other than a regular file, FIFO (named pipe), or Unix domain socket, and the caller is not privileged (Linux: does not have the CAP_MKNOD capability); also returned if the filesystem containing pathname does not support the type of node requested.