You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Mark Schneider <ms...@it-infrastrukturen.org> on 2012/12/21 21:16:06 UTC

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

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

-- 
ms@it-infrastrukturen.org

http://rsync.it-infrastrukturen.org


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

Posted by Mark Schneider <ms...@it-infrastrukturen.org>.
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
> <ms...@it-infrastrukturen.org>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*
-- 
ms@it-infrastrukturen.org

http://rsync.it-infrastrukturen.org


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

Posted by Mike <mz...@gmail.com>.
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
<ms...@it-infrastrukturen.org>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
>
> --
> ms@it-infrastrukturen.org
>
> http://rsync.it-**infrastrukturen.org<http://rsync.it-infrastrukturen.org>
>
>