Bug 274256

Summary: dolphin starts applications with wrong current directory (PWD set to HOME)
Product: [Applications] dolphin Reporter: Georg <bethovenathome>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED DUPLICATE    
Severity: normal CC: frank78ac
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description Georg 2011-05-27 11:12:28 UTC
Version:           unspecified (using KDE 4.4.2) 
OS:                Linux

If I start an executable from within dolphin (or konqueror) the current directpry (PWD) is set to the home directory independently of the current directory.
This behavior is wrong and makes no sense. 
Example: I wrote a shell script to process files in the current directory. I cannot start it from within dolphin because it wouldn't find the files.
A long discussion about it is in: http://lists-archives.org/kde/10401-dolphin-starts-programs-with-a-wrong-current-directory.html
But it doesn't seem to be fixed....

Reproducible: Always

Steps to Reproduce:
create a shell script somewhere (not in home directly) with the content:
#!/bin/bash
xmessage `pwd`

and start it from dolphin or konqueror

Actual Results:  
always the home directory is reported, independently from the location of the file.

Expected Results:  
the path of the directory in which the script is located
Comment 1 Frank Reininghaus 2011-05-27 20:51:04 UTC
Thanks for the bug report! This issue has been reported already.

*** This bug has been marked as a duplicate of bug 271824 ***