Here are my owner and permissions variables directly from a bash deployment script:

TARGET_CHOWN="appserver:appserveradm"
TARGET_CHMOD="550"
WEBSERVER_DOCS_CHOWN="root:admin"
WEBSERVER_DOCS_CHMOD="775"

For your convenience I have attached a simple bash script that takes a few arguments (see usage example) and tars and copies a bundle to a remote server and sets the permissions. This script is itself called from a deployment script that passes in the relevant arguments. This script can be easily modified to remove the tar.gz step and then use it directly on the two tar.gz packages created by the modern wolips build.xml.

Hope that is of use to you.

Regards, Kieran :-)

PS. I use ssh keypairs on deployment servers so that scripts like this can work without ssh passowrds. I also use a ~/.ssh/config file to make it easy to configure the ssh command with port, host alias, remote host/IP, etc, which avoids putting all that network config stuff into scripts

____________________________________
http://blog.greenislandconsulting.com/ (which needs the stupid template cleaned up btw)



On Jul 3, 2009, at 6:52 PM, David Holt wrote:

What are the correct permissions for the WebServer resources on a split install? I have dropped the .woa into /Library/WebServer/ Documents/WebObjects, but my .css files are not being picked up in the app. Arrgh.

David



Attachment: deployWebObjectsApp
Description: Binary data


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to