It's all about the answers!

Ask a question

error of scm login command


Angelo Corna (26358383) | asked Dec 15 '11, 3:22 a.m.
When I run the scm login command on my RTC 3.0 environment, I obtain the following error

angelo@angelinux:/opt/IBM/SDP/scmtools/eclipse$ ./scm.sh login -r https://clmweb:9443/ccm -u CLMADMIN -P XXXXXXXX
Problem running 'login':
Repository registry cannot be secured. Error changing permissions of file /home/angelo/.jazz-scm/repositories.txt
angelo@angelinux:/opt/IBM/SDP/scmtools/eclipse$

The other scm commands works without problems.

Can you help me?
Thanks in advance.

2 answers



permanent link
Shashikant Padur (4.3k27) | answered Dec 18 '11, 11:47 p.m.
JAZZ DEVELOPER
The cli runs a script to set the permission of repositories.txt file to "-rw-------" so that only the user has read/write access to the file. This script (which is located at /jazz/scmtools/eclipse/scripts/unix/mk) is failing as it is not able to set the permissions.
I believe workitem 182100 may have addressed this issue.

When I run the scm login command on my RTC 3.0 environment, I obtain the following error

angelo@angelinux:/opt/IBM/SDP/scmtools/eclipse$ ./scm.sh login -r https://clmweb:9443/ccm -u CLMADMIN -P XXXXXXXX
Problem running 'login':
Repository registry cannot be secured. Error changing permissions of file /home/angelo/.jazz-scm/repositories.txt
angelo@angelinux:/opt/IBM/SDP/scmtools/eclipse$

The other scm commands works without problems.

Can you help me?
Thanks in advance.

permanent link
Angelo Corna (26358383) | answered Dec 19 '11, 4:06 a.m.
Thanks Padur solved!!!

The file /jazz/scmtools/eclipse/scripts/unix/mkfile had not the execute permission.

Bye.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.