Public bug reported:

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/)


Really I was tired of removing some pngs in one of my folders, so I
created a script to remove all pngs (rm *.png) and executed it this way.
Now I've lost all my png files in my home directory :(

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: pcmanfm 0.9.10-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-30.48-generic 3.2.27
Uname: Linux 3.2.0-30-generic i686
ApportVersion: 2.0.1-0ubuntu13
Architecture: i386
Date: Sun Oct  7 14:14:08 2012
InstallationMedia: Lubuntu 12.04 "Precise Pangolin" - Release i386 (20120423)
Pref_Config_Home_lubuntu:
 
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: pcmanfm
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: pcmanfm (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 precise

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1063192

Title:
  pcmanfm executes scripts from the home directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcmanfm/+bug/1063192/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to