EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: procServ softIOC server - V2.6.0 released
From: Ralph Lange <[email protected]>
To: EPICS Tech Talk <[email protected]>
Date: Tue, 17 Apr 2012 12:01:00 +0200
On 16.04.2012 18:44, Pavel Masloff wrote:
Ralph, when I try to start a bat file using procServ under Windows 7 then I get this:

C:\Users\Maslick\Downloads>procServ -L test2.txt 50010 c:\epics\apps\LINAC\startIoc.bat
procServ: Error - Please change permissions on c:\epics\apps\LINAC\startIoc.bat to at least ---x--x--x
procServ is not able to continue without execute permission


How can I set the bat file to be executable? Its attributes say it's Full access (R,W).


Pavel,

on native Windows file systems, Cygwin has to fake the permission info for files. So, obviously, the calls return no x bits for batch files. (Which makes sense, in a way.)

I am usually starting the softIOC binary directly, which does not create such a problem.
If you need to use a batch file, you might have to start command.com (which is a real executable) with the batch file as first argument. You could also try specifying command.com as the executable using the command line option.

Good luck!
~Ralph

ps. Please drop me a line if you get it working, so I can add the solution to the README.


Replies:
Re: procServ softIOC server - V2.6.0 released Dirk Zimoch
References:
procServ softIOC server - V2.6.0 released Ralph Lange
Re: procServ softIOC server - V2.6.0 released Pavel Masloff
Re: procServ softIOC server - V2.6.0 released Ralph Lange
Re: procServ softIOC server - V2.6.0 released Pavel Masloff

Navigate by Date:
Prev: Re: 9th NOBUGS conference announcement Hartman, Steven M.
Next: log message filter in Asyn matthew.pearson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: procServ softIOC server - V2.6.0 released Pavel Masloff
Next: Re: procServ softIOC server - V2.6.0 released Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·