Hide Forgot
Description of problem: $HOME has '/' in the end. It must not have '/' in the end. [perldancer2openshift-imyaman.rhcloud.com ~]\> echo $HOME /var/lib/openshift/583bbd1a89f5cf56a100000f <- right /var/lib/openshift/583bbd1a89f5cf56a100000f/ <- not right Version-Release number of selected component (if applicable): How reproducible: everytime Steps to Reproduce: 1.rhc ssh -a perldancer2openshift 2.(after login) echo $HOME 3.you see "/var/lib/openshift/583bbd1a89f5cf56a100000f/" Actual results: "/var/lib/openshift/583bbd1a89f5cf56a100000f/" Expected results: "/var/lib/openshift/583bbd1a89f5cf56a100000f" Additional info:
Hi there Sangyong, Why does the HOME variable need to not have a trailing slash? If I recall correctly, any number of successive slashes (except for // at the beginning in some rare cases) should be treated as if it were a single slash. So `ls /home/thrasher/` and `ls /home/thrasher//` are the same. Where is the trailing slash causing a problem for you? Rory
We apologize, however, we do not plan to address this report at this time. The majority of our active development is for the v3 version of OpenShift. If you would like for Red Hat to reconsider this decision, please reach out to your support representative. We are very sorry for any inconvenience this may cause.
Thank you for replies. I'm sorry for late respond. This is not urgent problem. But... most documents explains like this. cd $HOME/.ssh if [ -d $HOME/.ssh ] ; We don't use cd $HOME.ssh if [ -d $HOME.ssh ] ; Because it is common that $HOME doesn't have / in the end. And tests like this will fail. if [ "$HOME/.ssh" == "/home/imyaman/.ssh" ] ;