Why does Samba requires 777 permissions on /tmp

sindrome sindrome at gmail.com
Mon May 20 16:28:01 UTC 2013


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 at gmail.com> wrote:

>
> On 20 May 2013 17:07, "sindrome" <sindrome at 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 at gmail.com> wrote:
> >>
> >>
> >> On 20 May 2013 16:53, "sindrome" <sindrome at gmail.com> wrote:
> >> >
> >> > echo $PATH
> >> >
> /bin:/usr/lib:/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/local/lib32/compat:/usr/X11R6/bin:/home/sindrome/.gnupg:/home/sindrome/bin:/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/local/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
> >
> >
>


More information about the freebsd-ports mailing list