library/roles/smartgears/smartgears_egi_image/templates/smartgears-setup.sh.j2: Fix a mistake in the function that sets the container.xml permissions. It screwed the home directory ones.
This commit is contained in:
parent
09c9663ae5
commit
47c3755c0a
|
@ -177,19 +177,19 @@ function get_smartgears_scope_tokens() {
|
|||
}
|
||||
|
||||
function fix_containerxml_perms() {
|
||||
chown -R gcube:gcube
|
||||
chown -R gcube:gcube ${SM_DOT_CONF_D}
|
||||
chmod 640 ${SM_DOT_CONF_D}/.*
|
||||
chown gcube:gcube $SM_CONF_DEST_F
|
||||
chmod 640 $SM_CONF_DEST_F
|
||||
}
|
||||
|
||||
|
||||
function merge_container_xml() {
|
||||
echo "-- merge_container_xml: compose the file" >> $LOG_FILE
|
||||
cat $SM_CONF_F $SM_CONF_TOKENS_F $SM_CONF_TAIL_F > $SM_CONF_DEST_F
|
||||
chown gcube:gcube $SM_CONF_DEST_F
|
||||
chmod 640 $SM_CONF_DEST_F
|
||||
}
|
||||
# function merge_container_xml() {
|
||||
# echo "-- merge_container_xml: compose the file" >> $LOG_FILE
|
||||
# cat $SM_CONF_F $SM_CONF_TOKENS_F $SM_CONF_TAIL_F > $SM_CONF_DEST_F
|
||||
# chown gcube:gcube $SM_CONF_DEST_F
|
||||
# chmod 640 $SM_CONF_DEST_F
|
||||
# }
|
||||
|
||||
function get_gcube_keys() {
|
||||
echo "-- get_gcube_keys" >> $LOG_FILE
|
||||
|
|
Loading…
Reference in New Issue