Why does Samba requires 777 permissions on /tmp

Jimmy ljboiler at gmail.com
Mon May 20 17:31:04 UTC 2013


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 <directory>/. "

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 <tingox at gmail.com>wrote:
> 
> > On Mon, May 20, 2013 at 6:45 PM, sindrome <sindrome at gmail.com> 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 at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> > To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> >
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"


More information about the freebsd-ports mailing list