There is a a misunderstanding here. The intention is that you type the
full path to firefox, not the literal string "/path/to/firefox/firefox
-safe-mode".
It's also important to have a space between the firefox program and its
arguments
For instance, on my 9.10 box running firefox-3.5, that would be:
/usr/bin/firefox-3.5 -safe-mode