Date: Mon, 20 May 2013 11:28:00 -0500 From: sindrome <sindrome@gmail.com> To: Chris Rees <utisoft@gmail.com> Cc: Erich Dollansky <erichsfreebsdlist@alogt.com>, Bob Eager <rde@tavi.co.uk>, FreeBSD Mailing List <freebsd-ports@freebsd.org> Subject: Re: Why does Samba requires 777 permissions on /tmp Message-ID: <CAFzAeSfGP=oyMFbFyMKiuJe_wo7MbC-6U=1xq=ckeqC%2BgAZCQg@mail.gmail.com> In-Reply-To: <CADLo8398mooA4qyOm%2BTX=15dxC9gW-tcXkDOKS6F3J%2BKCsCx1Q@mail.gmail.com> References: <CAFzAeSdgRotc34%2BeyfVHZBA-QGUCWJ1MZDYw1ysRxEV9MhG2BQ@mail.gmail.com> <8661yedqyy.wl%poyopoyo@puripuri.plala.or.jp> <CAFzAeSe4YTdUiqcxSDUGDf6fQEeDK_sDVYym1hsck8fms8kJqA@mail.gmail.com> <20130520143853.79242743@raksha.tavi.co.uk> <20130520221927.0a2e37b9@X220.ovitrap.com> <CAFzAeSe92JW3WFzoy76KOJM2vTkAo%2BcUKcJuBbXc4ModKeA5cQ@mail.gmail.com> <CADLo83-RXPeHQ8YVz%2BtxYvOP2_c-MfX3zZGoRFgkEP=Ltq9JEw@mail.gmail.com> <CAFzAeSdw-YEHpHTOJbF%2BMOHSyu-TVqCaSx-ULW2i87YQPye3Dg@mail.gmail.com> <CADLo8398mooA4qyOm%2BTX=15dxC9gW-tcXkDOKS6F3J%2BKCsCx1Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I modified the PATH to remove those items you mentioned but I'm still getting the following when I portupgrade. How can I track down what is amending /tmp onto the PATH? /usr/local/lib/ruby/site_ruby/1.8/pkgtools/pkgtools.rb:1170: warning: Insecure world writable dir /tmp/. in PATH, mode 041777 /usr/local/lib/ruby/site_ruby/1.8/pkgtools/pkgmisc.rb:108: warning: Insecure world writable dir /tmp/. in PATH, mode 041777 /usr/local/sbin/portsclean:314: warning: Insecure world writable dir /tmp/. in PATH, mode 041777 On Mon, May 20, 2013 at 11:09 AM, Chris Rees <utisoft@gmail.com> wrote: > > On 20 May 2013 17:07, "sindrome" <sindrome@gmail.com> wrote: > > > > Some are just document directories in my home. Do you have a suggested > PATH that I can use > > Default PATH is good, from /etc/profile. > > Adding ~/bin won't hurt, if you like that. > > Chris > > > On Mon, May 20, 2013 at 11:02 AM, Chris Rees <utisoft@gmail.com> wrote: > >> > >> > >> On 20 May 2013 16:53, "sindrome" <sindrome@gmail.com> wrote: > >> > > >> > echo $PATH > >> > > /bin:/usr/lib:/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/us= r/local/lib32/compat:/usr/X11R6/bin:/home/sindrome/.gnupg:/home/sindrome/bi= n:/home/sindrome/docs:/home/sindrome/docs/info:/home/sindrome/docs/config:/= sbin:/bin:/etc:/usr/local/etc::/usr/bin:/usr/games:/usr/local/sbin:/usr/loc= al/bin:/usr/X11R6/bin:. > >> > >> Why is there so much there?? You really need to strip that down, and > your problems probably stem from the . in there. > >> > >> Also /usr/X11R6 is a symlink to /usr/local, so you can remove that too= . > >> > >> Lib, lib32/compat, /usr/local/etc are inappropriate for PATH, they > don't contain programs you should normally execute. > >> > >> Chris > > > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFzAeSfGP=oyMFbFyMKiuJe_wo7MbC-6U=1xq=ckeqC%2BgAZCQg>