Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Aug 2010 07:26:26 GMT
From:      vermaden <vermaden@interia.pl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/149352: ports/slim: default config has './' (dot-slash) in path
Message-ID:  <201008060726.o767QQ7G088884@www.freebsd.org>
Resent-Message-ID: <201008060730.o767U6jd093995@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         149352
>Category:       ports
>Synopsis:       ports/slim: default config has './' (dot-slash) in path
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 06 07:30:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     vermaden
>Release:        FreeBSD 8.0-RELEASE-p3
>Organization:
>Environment:
FreeBSD savio 8.0-RELEASE-p3 FreeBSD 8.0-RELEASE-p3 #0: Tue May 25 20:54:11 UTC 2010     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
The ports/slim package/port has './' in PATH in the default config file, shouldnt we avoid having './' (current working directory) in PATH?

/usr/local/etc/slim.conf
  1 # Path, X server and arguments (if needed)
  2 # Note: -xauth $authfile is automatically appended
  3 default_path        ./:/bin:/usr/bin:/usr/local/bin:/usr/local/bin

Regards,
vermaden





>How-To-Repeat:

>Fix:
/usr/local/etc/slim.conf
-default_path        ./:/bin:/usr/bin:/usr/local/bin:/usr/local/bin
+default_path        /bin:/usr/bin:/usr/local/bin:/usr/local/bin

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008060726.o767QQ7G088884>