Terry Lambert wrote:
> > I just found out that I cannot fchmod unix domain sockets.
> > This is because fchmod() calls getvnode() which fails if the vnode
> > passed is not of type vnode or type fifo.
> > Is there a reason for this rationale?
> Look for "struct fileops" in /sys/kern/*.c, and all will be revealed.
> The mode is referenced via VOP_GETATTR/VOP_SETATTR off of a vnode
> to get the FS specific method of getting/setting mode bits. If you
> do not have a backing object, you do not have mode bits.
?? There *is* a backing object. I am talking about UNIX domain