g+
g+ Communities
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  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
<== Date ==> <== Thread ==>

Subject: Re: procServ softIOC server - V2.6.0 released
From: Ralph Lange <Ralph.Lange@gmx.de>
To: EPICS Tech Talk <tech-talk@aps.anl.gov>
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 
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 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·