Le 2012-01-24 à 07:51, Gino Pacitti a écrit :
> Currently builds from eclipse result in the startup script being non
> executable unless changed to appserver user...
>
> I am moving from xcode to eclipse and just wanted a convenience method of not
> having to keep manually changing the owner to appserver and instead making
> the startup script the same as I had it on Xcode…
The secure way of doing this is to put the user you use to upload the
application as a member of the "appserveradm" group, and making that group as
the primary group of the user. For example, on Linux, I would do:
% sudo /usr/sbin/usermod -g appserveradm -G wheel probert
That way, appserver will be able to execute the app because appserver is also a
member of appserveradm.
> Gino
> On 24 Jan 2012, at 12:47, Pascal Robert wrote:
>
>> But why do you need to do that? Execute permissions is already set for the
>> owner and the group. I guess you want to give "other" execute permissions
>> too? Don't forget that it can be a security risk...
>>
>>> Hi All
>>>
>>> I got some great advice on ANT replacement for a permission variable that
>>> was in XCode...
>>>
>>> It was:
>>>
>>> <chmod file="${dest.dir}/${build.app.name}" perm="ugo+rx"/>
>>>
>>> But I am not an expert in where it would go in the build.xml file...
>>>
>>> Can anyone point me in the right direction?
>>>
>>>
>>> Gino
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list ([email protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>>>
>>> This email sent to [email protected]
>>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>
> This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]