Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jan 2016 16:21:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 204813] suggeted improvement for crontab(1)'s newly created  files
Message-ID:  <bug-204813-8-KOhWLoTJ4x@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-204813-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-204813-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204813

--- Comment #4 from commit-hook@freebsd.org ---
A commit references this bug:

Author: jilles
Date: Tue Jan  5 16:21:21 UTC 2016
New revision: 293204
URL: https://svnweb.freebsd.org/changeset/base/293204

Log:
  Add sbin and /usr/local directories to _PATH_DEFPATH.

  Set _PATH_DEFPATH to
  /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin. This is the
  path in the default class in the default /etc/login.conf,
  excluding ~/bin which would not be expanded properly in a string
  constant.

  For normal logins, _PATH_DEFPATH is overridden by /etc/login.conf,
  ~/.login_conf or shell startup files. _PATH_DEFPATH is still used as a
  default by execlp(), execvp(), posix_spawnp() and sh if PATH is not set, =
and
  by cron. Especially the latter is a common trap (most recently in PR
  204813).

  PR:           204813
  Reviewed by:  secteam (delphij), alfred

Changes:
  head/include/paths.h
  head/lib/libc/gen/exec.3
  head/lib/libc/gen/posix_spawn.3
  head/usr.sbin/cron/crontab/crontab.5

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204813-8-KOhWLoTJ4x>