[CalendarServer-users] Getting a stable version of Calendar Server?
Cyrus Daboo
cdaboo at apple.com
Mon Aug 31 07:55:58 PDT 2009
Hi Scott,
--On August 29, 2009 1:59:22 PM -0700 Scott Buchanan <dscottbuch at mac.com>
wrote:
> OK. I tracked this down to a permissions issue on /var/run/caldavd and
> the files calendaruserproxy.sqlite & resourceinfo.sqlite. By adding
> group rw permissions to this directory and these files the following
> error no longer occurs and all seems to be working. I have no idea what
> security risk this presents as I currently don't understand the security
> model of CalendarServer so I don't know if this is a legitimate fix or
> not.
>
> Any input appreciated.
First off in the new code we put those .sqlite files in a new location by
default: /Library/CalendarServer/Data/. It is best not to use /var/run/ for
those as they are "persistent" database files and should not be
automatically purged (as might happen to something in /var/run).
On permissions, the best thing is to create a "calendar" user and group for
your system, and change the caldavd.plist to use those. Ensure that
/Library/CalendarServer's contents have read-write for that user and group.
You will need to start the server as the admin user but it will drop
privileges to the user and group you specify.
--
Cyrus Daboo
More information about the calendarserver-users
mailing list