• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Permissions for Startup Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Permissions for Startup Script


  • Subject: Re: Permissions for Startup Script
  • From: Pascal Robert <email@hidden>
  • Date: Tue, 24 Jan 2012 08:04:11 -0500

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@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Permissions for Startup Script (From: Gino Pacitti <email@hidden>)
 >Re: Permissions for Startup Script (From: Pascal Robert <email@hidden>)
 >Re: Permissions for Startup Script (From: Gino Pacitti <email@hidden>)

  • Prev by Date: Re: Permissions for Startup Script
  • Next by Date: Re: Permissions for Startup Script
  • Previous by thread: Re: Windows/Linux issue for deployment
  • Next by thread: ERD2W qualifying restrictingFetchSpecification
  • Index(es):
    • Date
    • Thread