From owner-freebsd-questions Mon Jul 19 14: 7:57 1999 Delivered-To: freebsd-questions@freebsd.org Received: from pinnacle.co.nz (pinnacle.internet.co.nz [210.48.55.133]) by hub.freebsd.org (Postfix) with ESMTP id 300A514EA5 for ; Mon, 19 Jul 1999 14:07:26 -0700 (PDT) (envelope-from jonc@pinnacle.co.nz) Received: from kiwi.pinnacle.co.nz (kiwi.pinnacle.co.nz [202.37.163.2]) by pinnacle.co.nz (8.9.3/8.9.3) with ESMTP id IAA14285; Tue, 20 Jul 1999 08:59:20 +1200 (NZST) Date: Tue, 20 Jul 1999 08:59:20 +1200 (NZST) From: Jonathan Chen To: John Armstrong Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Strange Shared memory problem In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 19 Jul 1999, John Armstrong wrote: > I have done a ton of testing on this and the result says this : > > If user root uses the scripts everything works great. Memory can be > accessed in both read and write methods. > > Any other user can not read or write to any shared memory regardless > of its state. What's the result status from ipcs(1) after/when root runs the perl script? Could it be that the permissions on the segments aren't being set correctly? Jonathan Chen ---------------------------------------------------------------------- "A person should be able to do a small bit of everything, specialisation is for insects" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message