Displaying 1 result from an estimated 1 matches for "ifreg".
Did you mean:
ifreq
2003 Nov 30
0
FreeBSD mknod refuses to create pipes and fifos
...;
+ break;
+ case S_IFIFO:
+ vattr.va_type = VFIFO;
break;
case S_IFWHT:
whiteout = 1;
1) I'm not sure if FIFO and/or SOCK creation with mknod should be allowed to
non-root users. This patch allows non-root to create them, but it's easy to
change that.
2) Should we allow IFREG creation with mknod? I did not find a reason to
disallow that, but since this does not bother me with rsync, I did not
touch that...
3) I did test it with ffs, but did not test with other media, like NFS
or EXT2FS.
Thanks a lot for your attention...