Project

General

Profile

Bug #9649

adding new physics group does not set proper ownership

Added by Gerard Bernabeu Altayo over 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Start date:
07/16/2015
Due date:
% Done:

100%

Estimated time:
8.00 h
Spent time:
Duration:

Description

Hi Chih-Hao,
the scripts to add a new physics group are not setting the ownership
properly. The one that nick just did had the directory owned and grouped
to root. It should be owned by the physics group user and grouped to
us_cms.

History

#1 Updated by Chih-Hao Huang about 4 years ago

  • % Done changed from 0 to 20
  • Estimated time set to 8.00 h

#2 Updated by Chih-Hao Huang about 4 years ago

Forgot to enter details for previous investigation.

The problem was, now the password files are maintained by puppet.
The script created group area before the password file was update.
Hence the directory was owned by root for missing the registered user.
This is a known problem.
It was already fixed in newCMSUser.sh.
newCMSGroup.sh needs the same treatment.
However, the scripts were nested pretty deep.
It would be easier to debug when catching it live.
Will wait for the next new physics request.

#3 Updated by Chih-Hao Huang about 4 years ago

  • % Done changed from 20 to 90

Manually trace the script and fixed it by replacing "doacct --411" with "puppet agent -t".
Also make it personal credential independent.
Will test it when opportunity comes.

#4 Updated by Chih-Hao Huang about 4 years ago

  • Status changed from New to Assigned

#5 Updated by Chih-Hao Huang about 4 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 90 to 100

This has been fixed at the last update.
It has been working fine since then.

Close this ticket.



Also available in: Atom PDF