EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  <19971998  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  2024  Index 1994  1995  1996  <19971998  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  2024 
<== Date ==> <== Thread ==>

Subject: FWD: a question for the vxworks people
From: Ron Chestnut <[email protected]>
To: [email protected]
Date: Fri, 26 Sep 1997 13:55:39 -0700 (PDT)
I have a question for the vxworks people:

Our vxworks account has a umask of 022 which is supposed to create files
with -rw-r--r-- protection and will for example with vi.

>From software running on the epics IOC I am creating files with
fopen ("f1","w").  This causes f1 to have a protection of -rw-rw-rw-
which is fine with me.

Also from software running on the epics IOC I am creating files with
copy ("f1","f2").  This causes f2 to have a protection of -rw-r-----,
but I want -rw-r--r-- (-rw-rw-rw- would be OK too).  Is there a way
to change the file protection that copy uses for its destination file?

Ron Chestnut

Navigate by Date:
Prev: Re: NV Ram use under EPICS Graham Waters
Next: Generic Record Types Jeffrey Mcdonald
Index: 1994  1995  1996  <19971998  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  2024 
Navigate by Thread:
Prev: Re: NV Ram use under EPICS Graham Waters
Next: Generic Record Types Jeffrey Mcdonald
Index: 1994  1995  1996  <19971998  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  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·