Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Dec 2015 18:21:17 -0500
From:      Robert Ames <robertames@hotmail.com>
To:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   calendar -a failing in 10.2-RELEASE
Message-ID:  <BLU177-W455E31BC480246A502EDE1C9E30@phx.gbl>

next in thread | raw e-mail | index | archive | help
In 10.2-RELEASE running "calendar -a" as root fails when user calendar file=
s have a #include line.  This worked in 10.0-RELEASE (and before).  From my=
 limited testing I think it's looking for the included files relative to ro=
ot's home directory and not the user's home directory.  The svn repository =
shows some changes in this area in recent releases.  Not sure if this new b=
ehavior is intentional.

$ uname -a
FreeBSD freebsd.example.com 10.2-RELEASE FreeBSD 10.2-RELEASE #0: Sun Dec 2=
0 10:00:14 CST 2015     root@freebsd.example.com:/usr/obj/usr/src/sys/GENER=
IC  i386
$ id
uid=3D1000(robert) gid=3D20(staff) groups=3D20(staff)=2C0(wheel)=2C5(operat=
or)
$ date
Sun Dec 20 16:47:44 CST 2015
$ cat ~/.calendar/calendar=20
#include <moredates>
$ cat ~/.calendar/moredates=20
12/20   Today is December 20
$ calendar
Dec 20  Today is December 20

root@freebsd# id
uid=3D0(root) gid=3D0(wheel) groups=3D0(wheel)=2C5(operator)
root@freebsd# calendar -a
calendar: can't open calendar file "moredates"

 		 	   		  =



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