Project

General

Profile

Task #9463

remove question from /opt/vulcan/groupCMSUser.sh

Added by Gerard Bernabeu Altayo almost 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Start date:
07/27/2015
Due date:
08/03/2015
% Done:

100%

Estimated time:
2.00 h
Spent time:
Duration: 8

Description

Hi,

on Vulcan I see that it's asking a question I doubt anyone ever wants to reply no to, please remove the question from the following script:

[root@cmsrocks1 ~]# /opt/vulcan/groupCMSUser.sh aperloff smpjs

......
To be executed on EOS MGM:
/opt/rocks/bin/411get --all ;
/usr/bin/eos -b 'attr -r set sys.acl=g:5063:rx!d!u,u:2202:rwx+d+u,u:3373:rwx+d+u,u:6489:rwx+d+u,u:9203:rwx+d+u,u:9829:rwx+d+u,u:10063:rwx+d+u,u:16822:rwx+d+u,u:43097:rwx+d+u,u:43841:rwx+d+u,u:44372:rwx+d+u,u:44697:rwx+d+u,u:45491:rwx+d+u,u:45901:rwx+d+u,u:46439:rwx+d+u,u:46646:rwx+d+u,u:47333:rwx+d+u,u:48295:rwx+d+u,u:49129:rwx+d+u,u:49959:rwx+d+u /eos/uscms/store/user/smpjs' ;
Run the commands? (CTR-C) to exit
yes
....

It should just run the commands.

Thanks,
Gerard

History

#1 Updated by Chih-Hao Huang almost 5 years ago

  • Due date set to 08/03/2015
  • Status changed from New to Resolved
  • Start date changed from 07/08/2015 to 07/27/2015
  • % Done changed from 0 to 100
  • Estimated time set to 2.00 h

In fact, from the original implementation, answering anything, including "no", would make the script to run.
The only way out is CTRL-C.
Now the question part is commented out. It will just execute the script no matter what.



Also available in: Atom PDF