Bug 274256 - dolphin starts applications with wrong current directory (PWD set to HOME)
Summary: dolphin starts applications with wrong current directory (PWD set to HOME)
Status: RESOLVED DUPLICATE of bug 271824
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-27 11:12 UTC by Georg
Modified: 2011-05-27 20:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***