Prev, Top Notes, Next

Strange and Interesting System Calls
Same errno(3) value, different causes

mknod(2) 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);
  • the file system containing pathname does not support the type of node requested.