The following line in my C program should provided All/Group/Owner read and write permissions

```
mkfifo("/tmp/dumbPipe", 0666)

```

But once I execute the code and check out the permission non of the write bits were set, I end up with

```
prw-r--r-- 

```

The owners are the same, Is it a problem since I'm creating the pipe in the tmp directory? When I run chmod 666 from the cmd line all the permissions get set correctly.