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  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Adding a PV to archiver appl, missing something...
From: astrid morreale via Tech-talk <tech-talk at aps.anl.gov>
To: Michael Davidsaver <mdavidsaver at gmail.com>
Cc: tech-talk at aps.anl.gov
Date: Mon, 27 Jul 2020 14:54:54 -0600
Thanks a mill Michael,

I just tested that not using a simlink the appliance works (oh joy!)

At least I know now what this is supposed to look like.

My simlinks all have -R write and read access so it must be some special linux flag I am missing when I set up the sim link.

ie touch works in all subfolders  w/o a problem yet the archive itself still cannot access the directory .
I will research a bit and then post the answer if I find it before someone else on the list hints to me.
I need the simlinks to work ultimately.

thanks to all and I will keep you posted.






Il giorno dom 26 lug 2020 alle ore 20:55 Michael Davidsaver <mdavidsaver at gmail.com> ha scritto:
On 7/26/20 3:15 PM, astrid morreale via Tech-talk wrote:
> *yet this directory should be readable*
>
> ls -lrt -h  /home/arch/sts
> lrwxrwxrwx 1 tomcat tomcat 43 Jul 20 16:07 /home/arch/sts -> '/run/media/amorreal/Linux ext/archiver/shm/"
>
> *Could it be because the simlink points to an external drive?*

I think it you're on the right track here.
A symlink has permissions of its own, which
may differ from the file/directory which the
link is targeting.  eg.

> $ ls -ld *dir
> lrwxrwxrwx 1 mdavidsaver mdavidsaver    7 Jul 26 19:53 aliasdir -> testdir
> dr-xr-xr-x 2 mdavidsaver mdavidsaver 4.0K Jul 26 19:52 testdir
> $ touch aliasdir/test
> touch: cannot touch 'aliasdir/test': Permission denied



--
Astrid Morreale
Staff Scientist Subatomic Physics Group.  
Los Alamos National Laboratory.
astrid at lanl.gov

References:
Adding a PV to archiver appl, missing something... astrid morreale via Tech-talk
Re: Adding a PV to archiver appl, missing something... Hu, Yong via Tech-talk
Re: Adding a PV to archiver appl, missing something... astrid morreale via Tech-talk
Re: Adding a PV to archiver appl, missing something... astrid morreale via Tech-talk
Re: Adding a PV to archiver appl, missing something... Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: RE: How to check IOC connection Mark Rivers via Tech-talk
Next: Re: How to check IOC connection Jong Woo Kim 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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Adding a PV to archiver appl, missing something... Michael Davidsaver via Tech-talk
Next: Old-ish CAS issue Timo Korhonen 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  <20202021  2022  2023  2024 
ANJ, 27 Jul 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·