From owner-freebsd-questions@FreeBSD.ORG Wed Jun 4 04:10:25 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06F9337B401 for ; Wed, 4 Jun 2003 04:10:25 -0700 (PDT) Received: from hotmail.com (bay8-f55.bay8.hotmail.com [64.4.27.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F13643F3F for ; Wed, 4 Jun 2003 04:10:24 -0700 (PDT) (envelope-from unixtools@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 4 Jun 2003 04:09:50 -0700 Received: from 203.199.109.162 by by8fd.bay8.hotmail.msn.com with HTTP; Wed, 04 Jun 2003 11:09:50 GMT X-Originating-IP: [203.199.109.162] X-Originating-Email: [unixtools@hotmail.com] From: "Sunil Sunder Raj" To: sk@isprime.com Date: Wed, 04 Jun 2003 16:39:50 +0530 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 04 Jun 2003 11:09:50.0977 (UTC) FILETIME=[D1792710:01C32A89] cc: freebsd-questions@freebsd.org Subject: Re: 4.8-STABLE /dev/null issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2003 11:10:25 -0000 Hi, The permissions on /dev/null is changed by some one. Please try cd /dev rm null mknod null c 2 2 chmod 666 null regards SSR >From: Scott Kupferschmidt >To: freebsd-questions@freebsd.org >Subject: 4.8-STABLE /dev/null issue >Date: Tue, 3 Jun 2003 00:34:58 -0400 (EDT) > >Hello, > >This may have been previously discussed, but I have yet to find a solution >yet so looking to find some guidance here. > >I have a customer who has 2 servers, one is 4.8-RC and the other is >4.8-STABLE. No problems have been noted on his server with 4.8-RC, >however the one running 4.8-STABLE seems to have some random /dev/null >permission changes and I'm stumped. > >He runs a cron script (on both servers) and redirects the output to >/dev/null, and everytime he does it on the 4.8-STABLE the permissions >change from crw-rw-rw- to crw-r--r-- which is rather odd. Anytime I 'echo >blah >/dev/null' just in a regular shell, nothing goes wrong, only when in >cron. > >Errors reported in /var/log/maillog are something like this: > >Jun 2 21:06:56 diamond sm-msp-queue[97747]: h5316uZO097747: disconnect: >open("/dev/null") failed: Permission denied > >Also, cron reports similar: > >Subject: Cron echo blah >/dev/null >X-Cron-Env: >X-Cron-Env: >X-Cron-Env: >X-Cron-Env: >X-Cron-Env: > >cannot create /dev/null: permission denied > >I cvsup'd, rebuilt the world, mergemaster'd the system to the latest and >still experience issues. Was there a change between 4.8-RC and 4.8-STABLE >that is causing this that I am just overlooking here? > >Any advice is greatly appreciated, as of right now I am banging my head. > >Sincerely, > >Scott Kupferschmidt >ISPrime, Inc. >866.502.4678 ext. 3 >AIM: Scott ISPrime - ICQ: 174337249 > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to >"freebsd-questions-unsubscribe@freebsd.org" _________________________________________________________________ HCL Beanstalk PCs. You could win one. http://server1.msn.co.in/sp03/hclbeanstalktour/index.asp Interested?