Hello,
Currently I've got the paros proxy files I need in the folder: /home/user/local-utils/paros.
If I am in that directory and type:
~ $ sh startsever.sh
The program will start up just fine. I want to be able to just start the thing from anywhere though. So I added this to my .bashrc
alias paros='sh /home/user/local-utils/paros/startserver.sh'
Now when I type 'paros' while I am in the paros directory, the program starts. But if I am in my home directory, I get:
Unable to access jarfile paros.jar
Here are the permissions for the paros folder:
Code:
-rw-r--r-- 1 user users 53248 2006-08-07 23:20 IeEmbed.exe
-rw-r--r-- 1 user users 188416 2006-08-07 23:20 MozEmbed.exe
-rw-r--r-- 1 user users 130 2006-08-07 23:20 autoupd.bat
drwxr-xr-x 2 user users 4096 2006-08-07 23:20 db/
drwxr-xr-x 2 user users 4096 2006-08-07 23:20 filter/
-rw-r--r-- 1 user users 122880 2006-08-07 23:20 jdic.dll
-rw-r--r-- 1 user users 21045 2006-08-07 23:20 libjdic.so
-rw-r--r-- 1 user users 469345 2006-08-07 23:20 libmozembed-linux-gtk1.2.so
-rw-r--r-- 1 user users 455336 2006-08-07 23:20 libmozembed-linux-gtk2.so
-rw-r--r-- 1 user users 19779 2006-08-07 23:20 libtray.so
drwxr-xr-x 2 user users 4096 2006-08-07 23:20 license/
drwxr-xr-x 2 user users 4096 2006-08-07 23:20 log/
-rw-r--r-- 1 user users 9431 2006-08-07 23:20 mozembed-linux-gtk1.2
-rw-r--r-- 1 user users 9467 2006-08-07 23:20 mozembed-linux-gtk2
-rw-r--r-- 1 user users 5751676 2006-08-07 23:20 paros.jar
-rw-r--r-- 1 user users 13206 2006-08-07 23:20 paros_logo.ico
drwxr-xr-x 2 user users 4096 2006-08-07 23:20 plugin/
-rw-r--r-- 1 user users 11331 2006-08-07 23:20 release.txt
drwxr-xr-x 2 user users 4096 2006-08-07 23:20 session/
-rw-r--r-- 1 user users 20 2006-08-07 23:20 startserver.bat
-rw-r--r-- 1 user users 171 2006-08-07 23:20 startserver.sh
-rw-r--r-- 1 user users 57344 2006-08-07 23:20 tray.dll
drwxr-xr-x 2 user users 4096 2006-08-07 23:20 xml/
And here are the permissions for the local-utils folder:
Code:
drwx------ 5 user users 4096 2006-03-23 08:07 john-1.7.0.2/
drwxr-xr-x 9 user users 4096 2008-06-02 03:33 paros/
Note that I have a similar set up with John,and that alias works fine from anywhere. I tried making the shell script and the paros.jar file executable, but that did not work.
Thoughts?