Hide Forgot
First prepare data: oc new-app centos/ruby-25-centos7~https://github.com/sclorg/ruby-ex.git oc get po NAME READY STATUS RESTARTS AGE ruby-ex-1-deploy 0/1 Completed 0 3m46s ruby-ex-1-qdcvp 1/1 Running 0 3m30s oc rsh ruby-ex-1-qdcvp sh-4.2$ cd /tmp sh-4.2$ ln -s /bin/ls mysl Then reproduce it with old oc that does not include the fix, e.g. 4.0.18: 4.0.18/oc cp ruby-ex-1-qdcvp:/tmp/mysl ./ tar: Removing leading `/' from member names ls -l lrwxrwxrwx. 1 tester qe 7 Apr 1 15:13 mysl -> /bin/ls Finally use new oc that includes the fix, e.g. 4.0.22: 4.0.22/oc cp ruby-ex-1-qdcvp:/tmp/mysl ./ tar: Removing leading `/' from member names warning: link "mysl" is pointing to "/bin/ls" which is outside target destination, skipping <-- the issue is fixed
Created attachment 1553633 [details] pwn.tar
*** This bug has been marked as a duplicate of bug 1686294 ***