#680 pcmanfm executes scripts from the home directory

1.1
closed-fixed
libfm (303)
5
2013-07-22
2012-11-24
No

This is forwarded from https://bugs.launchpad.net/ubuntu/+source/pcmanfm/+bug/1063192:

How to reproduce:
Create a script file in any folder you like, for example in /home/user/Desktop/
Here's the script:
#!/bin/bash
echo "${PWD}" > testfile

Now make this file executable and double click it. You'll see a message like this:
https://dl.dropbox.com/u/71236259/2012-10-07-140215_622x101_scrot.png
Click "execute" or "execute in terminal".

I expected the "testfile" to be created in the same folder (/home/user/Desktop/ in this example), but really it's going to be created in my home directory (/home/user/)

Discussion

  • Lonely Stranger

    Lonely Stranger - 2013-05-30

    I hope the described issue is completely fixed in GIT (in both 'master' and '1.1' branches).
    Thank you very much.

     
  • Lonely Stranger

    Lonely Stranger - 2013-05-30
    • assigned_to: nobody --> lstranger
    • milestone: 2334032 --> 1.1
    • status: open --> open-fixed
     
  • Lonely Stranger

    Lonely Stranger - 2013-07-22
    • status: open-fixed --> closed-fixed
     


Anonymous

Cancel  Add attachments