Re: Permissions for WOLips Ant Tools=>Install

From: David Holt (programmingos..ac.com)
Date: Wed Aug 01 2007 - 14:11:30 EDT

  • Next message: Aaron Hipple: "Re: https and WO"

    Great tips guys, thanks very much!

    David

    On 1 Aug 2007, at 11:06 AM, Pascal Robert wrote:

    >
    > Le 07-08-01 à 13:57, Kieran Kelleher a écrit :
    >
    >> David,
    >>
    >> Eclipse is launched and running as your own login name (say
    >> 'david'), but on a regular install david does not have write
    >> access to that dir. Since this is your own development machine,
    >> not a server, just loosen up the permissions so anyone using your
    >> development machine (usually only yourself) can write to that dir
    >>
    >> So ...
    >>
    >> $ sudo chmod -R 777 /Library/WebObject/Applications
    >
    > 777, the brother of the evil 666 ? It's better to change the group
    > of /Library/WebObject/Applications to a group where your user
    > belong. For example, all of our devs are in the "wodev" group, so
    > we do the following :
    >
    > # sudo chgrp -R wodev /Library/WebObject/Applications
    > # sudo chgrp -R wodev /Library/WebServer/Documents/WebObjects
    > # sudo chgrp -R wodev /Library/Frameworks
    > # sudo chmod -R g+s,g+w /Library/WebObject/Applications
    > # sudo chmod -R g+s,g+w /Library/WebServer/Documents/WebObjects
    > # sudo chmod -R g+s,g+w /Library/Frameworks
    >
    > Add your account to the wodev group, et voilà.
    >
    >> will give any user on your machine write access to that dir.
    >>
    >> Personally, I have one script that I execute using sudo which
    >> builds/installs locally and then copies to servers and sets
    >> permissions/owership automatically at destination ... this depends
    >> on ssh dsa keypair access to remote servers for my root account
    >> (since I am using sudo for the whole script)
    >>
    >> HTH, Kieran
    >>
    >> On Aug 1, 2007, at 1:23 PM, David Holt wrote:
    >>
    >>> In the tutorial for WO Application deployment <http://
    >>> wiki.objectstyle.org/confluence/display/WOL/Deploy+a+WO
    >>> +Application> Step 7 says "If you have the appropriate
    >>> permissions setup on your machine, WOLips can install the app as
    >>> well by right-clicking on the project=>WOLips Ant Tools=>Install,
    >>> which will perform the same build, but output into "/Library/
    >>> WebObjects/Applications" instead of "dist"."
    >>>
    >>> What do the permissions have to be to get this to work properly?
    >>>
    >>> Thanks,
    >>> David
    >>
    >



    This archive was generated by hypermail 2.0.0 : Wed Aug 01 2007 - 14:13:58 EDT