Experimental Physics and Industrial Control System
Another NFS@vxWorks question:
Our (Unix) NFS server exports two disks: / and /mnt/s5
There is a soft link in / that points to the other disk:
> ls -al /usr
1 lrwxrwxrwx 1 root sys 7 Dec 30 12:27 usr -> /mnt/s5/
Our IOCs mount the server's disks using nfsMountAll():
-> nfsDevShow
device name file system
----------- -----------
/ vwhost:/
/mnt/s5 vwhost:/mnt/s5
I create a directory that is writeable for the IOC
drwxrwxr-x 2 lange epics 1024 Jun 23 11:50 /usr/IOC/Local/test
When the IOC tries to open a file using the link it gets an error
-> dbior > /usr/IOC/Local/test/test_a
can't create output '/usr/IOC/Local/test/test_a'
errno = 0xd (S_errno_EACCES)
whereas it succeeds using the "real" directory name
-> dbior > /mnt/s5/IOC/Local/test/test_a
value = 0 = 0x0
> ls -al /usr/IOC/Local/test
total 3
drwxrwxr-x 2 lange epics 1024 Jun 23 11:56 ./
drwxr-x--- 6 lange epics 1024 Jun 23 11:31 ../
-rw-r----- 1 epics epics 69 Jun 23 11:56 test_a
or using remsh access
> ls -al /usr/IOC/Local/test
total 3
drwxrwxr-x 2 lange epics 1024 Jun 23 11:58 ./
drwxr-x--- 6 lange epics 1024 Jun 23 11:31 ../
-rw-rw-rw- 1 epics epics 69 Jun 23 11:58 test_a
Has anyone any explanation for this? (I suppose this is a bug in
the vxWorks nfsLib...)
Ralph
--
__ Ralph Lange Email: [email protected]
/\ \ WWW: http://www.bessy.de/~lange
/ \ \ BESSY II
/ /\ \ \ Berliner Elektronenspeicherring- Snail: BESSY II
/ / /\ \ \ Gesellschaft fuer Synchrotron- Rudower Chaussee 5
/ / /__\_\ \ strahlung m.b.H. D-12489 Berlin, Germany
/ / /________\ Phone: +49 30 6392-4862
\/___________/ Control System Group Fax: ... -4859
- Replies:
- Re: NFS vxWorks Access Rights Ralph Lange
- Navigate by Date:
- Prev:
EPICS and Icon Steve Wampler
- Next:
Re: NFS vxWorks Access Rights Tim Mooney
- 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
2024
- Navigate by Thread:
- Prev:
EPICS and Icon Steve Wampler
- Next:
Re: NFS vxWorks Access Rights Ralph Lange
- 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
2024