[Bug 205580] Running "calendar -a" as root fails when user calendar files contain #include

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 24 14:45:24 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205580

            Bug ID: 205580
           Summary: Running "calendar -a" as root fails when user calendar
                    files contain #include
           Product: Base System
           Version: 10.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: robertames at hotmail.com

In 10.2-RELEASE running "calendar -a" as root fails when user calendar files
contain #include.  This worked in 10.0-RELEASE (and previous releases).

$ uname -a
FreeBSD freebsd.example.com 10.2-RELEASE FreeBSD 10.2-RELEASE #0: Sun Dec 20
10:00:14 CST 2015     root at freebsd.example.com:/usr/obj/usr/src/sys/GENERIC 
i386
$ id
uid=1000(robert) gid=20(staff) groups=20(staff),0(wheel),5(operator)
$ date
Sun Dec 20 16:47:44 CST 2015
$ cat ~/.calendar/calendar 
#include <moredates>
$ cat ~/.calendar/moredates 
12/20   Today is December 20
$ calendar
Dec 20  Today is December 20

root at freebsd# id
uid=0(root) gid=0(wheel) groups=0(wheel),5(operator)
root at freebsd# calendar -a
calendar: can't open calendar file "moredates"



My original post to -stable and commentary about calendar's -a option:
http://docs.freebsd.org/cgi/mid.cgi?1450670833.594.12.camel

Related (but closed) bug report:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200815

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


More information about the freebsd-bugs mailing list