From owner-freebsd-ports@FreeBSD.ORG Mon May 20 17:31:04 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9A56E3C2 for ; Mon, 20 May 2013 17:31:04 +0000 (UTC) (envelope-from ljboiler@gmail.com) Received: from mail-qa0-x231.google.com (mail-qa0-x231.google.com [IPv6:2607:f8b0:400d:c00::231]) by mx1.freebsd.org (Postfix) with ESMTP id 5A2F4861 for ; Mon, 20 May 2013 17:31:04 +0000 (UTC) Received: by mail-qa0-f49.google.com with SMTP id j11so1665299qag.8 for ; Mon, 20 May 2013 10:31:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=OeXR47tdLUPxLOiRHq49OBM7HkZ0+6evky449BTWDag=; b=Fx4c7YJaWUYDOq0movRyCDq/rxXf6u3XcLC+l8JEA2Pl519/uvOlq1j1ba71xQm3vW uasfdcNPleff1ADpKkw/ePE0212MGVgoDS4DseGWbTPikVt/aDFokhOcI2/7XHc1FxkW hF8dxrzL27SqoUo4pI5Qz4AgMDDy05lpCQoDdTRZl0oNWJJX9GAp3u+BEeCLVtf+IUi2 /+SAcC4IrfXEKR2QSSYULg5d+A+CMZP+lH0CWppESKe3NyYthGj8PAfTQT4hou5xgOiH RNfvPMP59yq+2hgUMuhFkczmLS/l/QP5mCyPoWYZHy95efq1BI7cyHf5NR4WTQe+Edj/ 9YPw== X-Received: by 10.49.108.40 with SMTP id hh8mr26134065qeb.39.1369071063907; Mon, 20 May 2013 10:31:03 -0700 (PDT) Received: from jmobile.jimmy.local (71-81-196-43.dhcp.stls.mo.charter.com. [71.81.196.43]) by mx.google.com with ESMTPSA id w7sm24856462qej.7.2013.05.20.10.31.01 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 May 2013 10:31:03 -0700 (PDT) Received: by jmobile.jimmy.local (sSMTP sendmail emulation); Mon, 20 May 2013 12:30:53 -0500 Date: Mon, 20 May 2013 12:30:53 -0500 From: Jimmy To: freebsd-ports@freebsd.org Subject: Re: Why does Samba requires 777 permissions on /tmp Message-ID: <20130520173053.GA10956@jmobile.jimmy.net> References: <20130519151706.4d67afe5@scorpio> <20130519204753.GA47341@jmobile.jimmy.net> <20130519222232.13aa95c6@raksha.tavi.co.uk> <20130520122001.19368e34@X220.ovitrap.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 17:31:04 -0000 Ok, I've discovered a combination of things that will reproduce that message, and it REALLY does come down to NOT HAVING '.' IN YOUR PATH, especially for user root. If I don't have '.' in my path, I can "cd" to any directory and Ruby will not complain when I run the system() command (or the equivilent using backticks). If I put '.' in my path and "cd" to any world-writable directory (and /tmp is one of those and needs to be), I get the warning ("...world writable dir /. " My guess is 1) you have '.' in your path, and 2) you're running portupgrade after you've "cd"'d to /tmp... On Mon, May 20, 2013 at 11:49:08AM -0500, sindrome wrote: > Fair enough but that's not the root of this problem I'm sure > > > On Mon, May 20, 2013 at 11:47 AM, Torfinn Ingolfsen wrote: > > > On Mon, May 20, 2013 at 6:45 PM, sindrome wrote: > > > Clearly I'm not the only one with this problem. Something is amending > > onto > > > the PATH and I'd like to get to the bottom of this. I'm sure it will > > help a > > > lot of people. > > > > Well, start by taking the current directory ('.') out of your PATH. > > (It is bad, for a number of reasons). > > > > HTH > > -- > > Regards, > > Torfinn Ingolfsen > > _______________________________________________ > > freebsd-ports@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"