Running an app via shortcut causes future shell invocations to have wrong starting directory.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mate-desktop (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
A started process appears to be able to change start up directory for future invocations of other apps.
* Before running dbeaver via menu, mate-terminal shows correct startup in home directory.
* After running dbeaver via [alt]+[f2], mate-terminal still shows correct startup n home directory.
* After running dbeaver via menu, mate-terminal now shows incorrect startup in /usr/share/dbeaver.
*** Potential security issue: It should not be possible for an app to change the startup directory and possibly environment for any subsequent app runs ***
The dbeaver shortcut UI shows:
Type: Application
Name: DBeaver Community
Command: /usr/share/
Comment: Universal Database Manager and SQL Client.
The dbeaver desktop entry text shows:
```ini
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Name=DBeaver Community
GenericName=
Comment=Universal Database Manager and SQL Client.
Path=/usr/
Exec=/usr/
Icon=/usr/
Categories=
WM_CLASS=DBeaver
StartupWMClass=
StartupNotify=true
Keywords=
MimeType=
```
Environment info:
```
lsb_release -rd
Description: Ubuntu 20.04.1 LTS
Release: 20.04
```
```
apt-cache policy mate-desktop
mate-desktop:
Installed: 1.24.0-2
Candidate: 1.24.0-2
Version table:
*** 1.24.0-2 500
500 http://
100 /var/lib/
```
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: mate-desktop 1.24.0-2
ProcVersionSign
Uname: Linux 5.4.0-53-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: MATE
Date: Sun Nov 15 11:27:21 2020
InstallationDate: Installed on 2014-05-08 (2382 days ago)
InstallationMedia: Linux Mint 16 "petra" - Release amd64 20131126
SourcePackage: mate-desktop
UpgradeStatus: Upgraded to focal on 2020-04-25 (204 days ago)
information type: | Private Security → Public |
Hi, thanks for reporting this issue.
Have you reported it to the Mate developers?
If not, please do so and link the bug here.
Thanks!