Quote:
Originally Posted by dinkus223
Add an extra . The four leaves you in the webapps directory. Confirm while in the English directory with:
|
No, definitely the right directory. Tried for the sake of it anyway.
root@owaspbwa:/var/lib/tomcat6/webapps/WebGoat/lesson_plans/English#
../ goes to
root@owaspbwa:/var/lib/tomcat6/webapps/WebGoat/lesson_plans#
../../ goes to
root@owaspbwa:/var/lib/tomcat6/webapps/WebGoat#
../../../ goes to
root@owaspbwa:/var/lib/tomcat6/webapps#
../../../../ goes to
root@owaspbwa:/var/lib/tomcat6#
../../../../conf goes to
root@owaspbwa:/var/lib/tomcat6/conf#
../../../../conf/tomcat-users.xml should go to
root@owaspbwa:/var/lib/tomcat6/conf/tomcat-users.xml but it doesn't for some reason. Confirmed by tab auto complete on each stage, along with getting the final path name, but it won't let me actually access the file when I enter.
As a exercise I went to /var/lib and opened via nano /tomcat6/conf/tomcat-users.xml and it opened fine. I went to /var/lib/tomcat6/webapps and tried to open via nano ../conf/tomcat-users.xml and it won't let me open there either.