From owner-freebsd-questions Wed May 30 18: 1:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cache1.hck.carroll.com (cache1.hck.carroll.com [216.44.20.19]) by hub.freebsd.org (Postfix) with ESMTP id 6449037B424 for ; Wed, 30 May 2001 18:01:46 -0700 (PDT) (envelope-from damien@carroll.com) Received: from sprig.tougas.net ([216.44.20.42] verified) by cache1.hck.carroll.com (CommuniGate Pro SMTP 3.2.4) with ESMTP id 3220569; Wed, 30 May 2001 21:01:45 -0400 Date: Wed, 30 May 2001 21:01:45 -0400 From: Damien Tougas To: Doug Young Cc: freebsd-questions@freebsd.org Subject: Re: Usage of "cu" Message-ID: <765890000.991270905@sprig.tougas.net> In-Reply-To: <0a7a01c0e969$13842880$0300a8c0@oracle> X-Mailer: Mulberry/2.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --On Thursday, May 31, 2001 10:31:45 +1000 Doug Young wrote: > Thanks Damien ...... I guess I should have said that I've always > run "cu" as root. so shouldn't that over-ride any ownership / group > issues ?? My experience has been that even though you run cu as root, it still thinks that the port is in use because of the file mode. When somthing accesses a serial port, it grabs it for exclusive access by changing the file mode to 0600, when it is done it changes the mode back to 0660. When you start cu, it checks the mode, sees that it is 0600 and therefore thinks another root process is already using it. --- Damien Tougas Systems Administrator Carroll-Net, Inc. http://www.carroll.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message