[comp.sys.sun] bind

net@TUB.BITNET (Oliver Laumann) (08/02/90)

I have an application that must be installed as set-uid with owner root.
The application binds a name to a UNIX-domain socket; the name is the
pathname of a file inside a sub-directory of the caller's home directory.
The directory has mode 0700, it is owned by the caller of the program, and
it resides on an NFS-mounted partition.

Under SunOS 4.1 the call to bind(2) fails with "permission denied", while
it works fine under 4.0 and earlier releases.

Is this a bug in SunOS 4.0 or a bug in my application?  I believe the
former, but I'm not sure.

    Oliver Laumann, Technical University of Berlin, Germany.
    pyramid!tub!net   net@TUB.BITNET   net@tub.cs.tu-berlin.de