EPICS Home

Experimental Physics and Industrial Control System


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

Subject: IOC Shell Persist history: ERROR Permission denied (13) writing '.iocsh_history'
From: "Webb, Brad via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 1 Nov 2024 13:09:02 +0000
After upgrading to EPICS 7.0.8.1 I see the errors below in the IOC start-up console output. 
ERROR Permission denied (13) writing '.iocsh_history'
ERROR Permission denied (13) writing '.iocsh_history'

From the release notes:
https://urldefense.us/v3/__https://github.com/epics-base/epics-base/blob/7.0/documentation/RELEASE_NOTES.md*persist-history__;Iw!!G_uCfscf7eWS!fxC6WWyvShbxHs8jPNfGxcc-Yd3gb7wGySPtGjoGKon5HqQERrpNd3FD4NrQvKubT7JRig5xbohNUi8W3jbS$ 

I find this section about setting the environment variable:
Persist history
Attempt to read and write command to a file (./.iocsh_history by default). Name may be overwritten
with by setting $EPICS_IOCSH_HISTFILE to an alternate path, or disabled by setting to an empty
string.

So, my question is how can this variable be set on a per IOC basis so that each IOC can have its own
unique path for the history file?

-Brad

Replies:
Re: IOC Shell Persist history: ERROR Permission denied (13) writing '.iocsh_history' Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: Re: asyn port locking while motorIMS controller limit-switch configuration is read Sebastian Eckert via Tech-talk
Next: Re: asyn port locking while motorIMS controller limit-switch configuration is read Mark Rivers via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <20242025 
Navigate by Thread:
Prev: RE: Archiver Appliance missing aplliance.properties file Sky Brewer via Tech-talk
Next: Re: IOC Shell Persist history: ERROR Permission denied (13) writing '.iocsh_history' Michael Davidsaver via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <20242025