~/apache-ofbiz-10.04.04$ dos2unix startofbiz.sh

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

~/apache-ofbiz-10.04.04$ dos2unix startofbiz.sh

Mark Schneider
Hello

I guess it would make sense to modify *startofbiz.sh (as follows) *in
the next release/version of OFBiz 10.04:
~/apache-ofbiz-10.04.04$ *dos2unix startofbiz.sh*; chmod 755 *startofbiz.sh*

regards, Mark

--
[hidden email]

http://rsync.it-infrastrukturen.org

Reply | Threaded
Open this post in threaded view
|

Re: ~/apache-ofbiz-10.04.04$ dos2unix startofbiz.sh

Mike Z
The last thing you want to do is run a script blindly from an external
source, even ofbiz,apache.org.  Suppose someone accidentally checks in a
test script that does an "/bin/rm -rf something", and you run it, just
because it was checked on.  Not a great idea.

Copy the script and place it in /etc/init.d, and modify it to your needs.


On Fri, Dec 21, 2012 at 12:16 PM, Mark Schneider
<[hidden email]>wrote:

> Hello
>
> I guess it would make sense to modify *startofbiz.sh (as follows) *in the
> next release/version of OFBiz 10.04:
> ~/apache-ofbiz-10.04.04$ *dos2unix startofbiz.sh*; chmod 755
> *startofbiz.sh*
>
> regards, Mark
>
> --
> [hidden email]
>
> http://rsync.it-**infrastrukturen.org<http://rsync.it-infrastrukturen.org>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: ~/apache-ofbiz-10.04.04$ dos2unix startofbiz.sh

Mark Schneider
Thank you for your prompt answer.

There are two independent issues:
1. dos2unix startofbiz.sh
2.  chmod 755 startofbiz.sh

As the default setting for this script in OFBiz 11.04 is mode 755 there
shouldn't be such a problem with 10.04
# ---
~$ ls -l apache-ofbiz-11.04.01/startofbiz.sh
-rwxr-xr-x 1 ironm ironm 2174 Apr  8  2011
apache-ofbiz-11.04.01/startofbiz.sh



Am 21.12.2012 21:39, schrieb Mike:

> The last thing you want to do is run a script blindly from an external
> source, even ofbiz,apache.org.  Suppose someone accidentally checks in a
> test script that does an "/bin/rm -rf something", and you run it, just
> because it was checked on.  Not a great idea.
>
> Copy the script and place it in /etc/init.d, and modify it to your needs.
>
>
> On Fri, Dec 21, 2012 at 12:16 PM, Mark Schneider
> <[hidden email]>wrote:
>
>> I guess it would make sense to modify *startofbiz.sh (as follows) *in the
>> next release/version of OFBiz 10.04:
>> ~/apache-ofbiz-10.04.04$ *dos2unix startofbiz.sh*; chmod 755
>> *startofbiz.sh*
--
[hidden email]

http://rsync.it-infrastrukturen.org