Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!rice!sun-spots-request From: net@TUB.BITNET (Oliver Laumann) Newsgroups: comp.sys.sun Subject: bind(2) in SunOS 4.0 and SunOS 4.1 Keywords: SunOS Message-ID: <1990Aug5.170135.12660@rice.edu> Date: 2 Aug 90 10:57:32 GMT Sender: sun-spots-request@rice.edu Organization: Sun-Spots Lines: 14 Approved: Sun-Spots@rice.edu Originator: spots@titan.rice.edu X-Sun-Spots-Digest: Volume 9, Issue 294, message 3 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