Correction:
In this example, we are replacing the path
/osg/wnclient_vols/wnclient0.6.0 with /osg/wnclient.
Note that after you make this change, pacman will not be happy if you
try to run it in the new location. Therefore, this technique is only
useful for write-once repositories. There may be a way to fix up the
repository at the new location so that pacman can still work.
--Dan
Dan Bradley via UW-HEP Help System wrote:
> Annabelle,
>
> Here is an example of a command that we use for CMS in a case where we
> need to move a pacman installation (for completely different reasons).
> In this particular case, we are replacing the path
> /osg/wnclient_vols/wnclient0.6.0 with the path
> /osg/wnclient_vols/wnclient0.6.0/osg/wnclient.
>
> find . -type f | xargs grep -l /osg/wnclient_vols/wnclient0.6.0 |
> xargs --max-args=1 --replace=FILE sh -c \
> 'sed "s|/osg/wnclient_vols/wnclient0.6.0|/osg/wnclient|g" < FILE >
> FILE.new && mv FILE.new FILE'
>
> --Dan
>
> Annabelle Leung Fook Cheong wrote:
>
>> Hi Steve,
>>
>> I am still getting the same problem again. I cannot follow the same procedure as you did below as I am not sure whether the installation is correct that way since you install the software in /scratch and then move it to /afs/hep.wisc.edu.. i dont think this would work as it doesn't have the same path as installed.
>> So I logged on to login.hep.wisc.edu, and installed directly in /afs/hep.wisc.edu/atlas/osg/atlas_app/atlas_rel/13.2.0, after less than an hour, the permissions have changed and I cannot write anymore
>>
>> I will try to install from higgs08 now but I doubt this would work.
>> Have you been able to install directly on /afs/?
>>
>> Thanks
>> Annabelle
>>
>> ________________________________
>>
>> From: Steve Rader via UW-HEP Help System [mailto:help@hep.wisc.edu]
>> Sent: Tue 4/1/2008 3:09 AM
>> To: Annabelle Leung Fook Cheong; Bruce Mellado Garcia; ajit@hep.wisc.edu; dan@hep.wisc.edu; Sridhara Dasu; rader@ginseng.hep.wisc.edu; radtke@physics.wisc.edu; wcmaier@hep.wisc.edu; Sau Lan Wu
>> Subject: [issue5166] permissions problems on afs again
>>
>>
>>
>>
>> Neng & Mengmeng:
>>
>> There should be a good installation of AtlasProduction 13.2.0 in
>> /afs/hep.wisc.edu/atlas/osg/atlas_app/atlas_rel/13.2.0.
>>
>> In the future, please try something like this:
>>
>> ssh login.hep.wisc.edu
>> cd /scratch
>> mkdir 13.x.y
>> cd 13.x.y
>> install AtlasProduction
>> mkdir /afs/hep.wisc.edu/atlas/osg/atlas_app/atlas_rel/13.x.y
>> cp -R -p . /afs/hep.wisc.edu/atlas/osg/atlas_app/atlas_rel/13.x.y/
>> rm -rf /scratch/13.x.y
>>
>> Let me know if you more help.
>>
>> steve
>> --
>>
>> > ---- Original Message ----
>> > From: Steve Rader via UW-HEP Help System <help@hep.wisc.edu>
>> >
>> > I just spoke with Mengeng Chen <mchen@cs.wisc.edu> on the
>> > phone. He reports that even just...
>> >
>> > cp -R <localdisk> /afs/hep/atlas/...
>> >
>> > mysteriously fails on higgs06.cs.wisc.edu (or maybe some other
>> > higgsXX.cs.wisc.edu host) despite having a valid AFS token!
>> >
>> > I was able to install AtlasProduction 13.2.0 in /afs/hep/home/radert
>> > on Friday. I'm trying to replicate Mengeng's problem now and will
>> > report back later today.
>> >
>> > steve
>> > --
>> >
>> > ______________________________________
>> > UW-HEP Help System <help@hep.wisc.edu>
>> > <https://help.hep.wisc.edu/issue5166>
>> > ______________________________________
>>
>> ----------
>> status: chatting -> resolved
>>
>> ______________________________________
>> UW-HEP Help System <help@hep.wisc.edu>
>> <https://help.hep.wisc.edu/issue5166>
>> ______________________________________
>>
>>
>>
>>
>
> ______________________________________
> UW-HEP Help System <help@hep.wisc.edu>
> <https://help.hep.wisc.edu/issue5166>
> ______________________________________
> |