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: [email protected]
          Reporter: [email protected]

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     [email protected]:/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@freebsd# id
uid=0(root) gid=0(wheel) groups=0(wheel),5(operator)
root@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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to