bind(2) in SunOS 4.0 and SunOS 4.1

Oliver Laumann net at TUB.BITNET
Thu Aug 2 20:57:32 AEST 1990


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 at TUB.BITNET   net at tub.cs.tu-berlin.de



More information about the Comp.sys.sun mailing list