[CalendarServer-changes] [1167] CalendarServer/branches/users/cdaboo/security-1150/support/Makefile. Apple

source_changes at macosforge.org source_changes at macosforge.org
Mon Feb 12 16:23:06 PST 2007


Revision: 1167
          http://trac.macosforge.org/projects/calendarserver/changeset/1167
Author:   wsanchez at apple.com
Date:     2007-02-12 16:23:06 -0800 (Mon, 12 Feb 2007)

Log Message:
-----------
logs directory should not be owned by calendar, or group admin.
root:wheel (which is the default) was correct.

Use symbolic usr/group names.

Modified Paths:
--------------
    CalendarServer/branches/users/cdaboo/security-1150/support/Makefile.Apple

Modified: CalendarServer/branches/users/cdaboo/security-1150/support/Makefile.Apple
===================================================================
--- CalendarServer/branches/users/cdaboo/security-1150/support/Makefile.Apple	2007-02-13 00:09:18 UTC (rev 1166)
+++ CalendarServer/branches/users/cdaboo/security-1150/support/Makefile.Apple	2007-02-13 00:23:06 UTC (rev 1167)
@@ -32,9 +32,8 @@
 PYTHON = /usr/bin/python
 PY_INSTALL_FLAGS = --root="$(DSTROOT)" --home="$(SHAREDIR)/caldavd"
 
-USER       = 93 # FIXME: calendar
-GROUP      = 93 # FIXME: calendar
-ADMINGROUP = 80 # FIXME: admin
+USER  = calendar
+GROUP = calendar
 
 #
 # Build
@@ -92,7 +91,7 @@
 	$(_v) gzip -9 -f $(DSTROOT)$(MANDIR)/man8/*.8
 	$(_v) $(INSTALL_DIRECTORY) $(DSTROOT)$(NSLIBRARYDIR)/$(Project)
 	$(_v) $(INSTALL_DIRECTORY) -o $(USER) -g $(GROUP) -m 0750 $(DSTROOT)$(NSLOCALDIR)/$(NSLIBRARYSUBDIR)/$(Project)/Documents
-	$(_v) $(INSTALL_DIRECTORY) -o $(USER) -g $(ADMINGROUP) -m 0750 $(DSTROOT)$(VARDIR)/log/caldavd
+	$(_v) $(INSTALL_DIRECTORY) -m 0750 $(DSTROOT)$(VARDIR)/log/caldavd
 	$(_v) $(INSTALL_DIRECTORY) $(DSTROOT)$(NSLIBRARYDIR)/LaunchDaemons
 	$(_v) $(INSTALL_FILE) $(Sources)/conf/launchd.plist $(DSTROOT)$(NSLIBRARYDIR)/LaunchDaemons/org.darwin.calendarserver.plist
 	$(_v) $(MKDIR) $(DSTROOT)$(ETCDIR)/sbs_backup/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070212/133ef9cd/attachment.html


More information about the calendarserver-changes mailing list