GNOME Bugzilla – Bug 130703
Executable files are run in $HOME instead of the current directory
Last modified: 2004-12-22 21:47:04 UTC
Steps to reproduce the problem: 1. Execute the following commands (but make sure you don't have an important file called `bar' in your home directory): cd touch foo mkdir moomin touch moomin/foo echo "mv foo bar" > moomin/mymble.sh chmod +x moomin/mymble.sh 2. Open a Nautilus window and enter the `moomin' directory. 3. Execute the `mymble.sh' script by double-clicking it and choosing `Run' or `Run in Terminal'. Expected result: The file `~/moomin/foo' is moved to `~/moomin/bar'. Actual result: The file `~/foo' is moved to `~/bar'. I can't see any reason for this behavior, and since it causes general inconvenience and confusion (try running a bootstrap or configure script from a package directory, for instance; it will appear to do nothing at all), I believe it should be classified as a bug.
Hmm, this was marked as fix in bug 110407. Guess it wasn't actually fixed though ;). Thanks for the bug report. *** This bug has been marked as a duplicate of 110407 ***