geany cannot open simultaneously by multiple user
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
geany (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Geany use socket-file session like "~/.config/
By a bug is that, when running "geany" and "sudo geany", only either can be open, because their socket-file sessions are conflict.
This situation make geany look buggy.
I suggest a brief sollution to solve this problem, by adding gid to socket-file which aims to divide sessions of multiply users ->
In "${GEANY_
socket_
app->configdir, G_DIR_SEPARATOR, hostname, display_name);
into:
socket_
app->configdir, G_DIR_SEPARATOR, hostname, display_name, getuid());
will make it work normally, and I have tested that.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: geany 1.26+dfsg-1
ProcVersionSign
Uname: Linux 4.3.0-7-generic x86_64
ApportVersion: 2.19.3-0ubuntu3
Architecture: amd64
CurrentDesktop: GNOME-Flashback
Date: Fri Jan 22 03:10:55 2016
SourcePackage: geany
UpgradeStatus: No upgrade log present (probably fresh install)
For me this is a bug in sudo configuration, because it does not properly resets the environment to use root's own home. It will have several other issues related to sharing configuration between users, that aren't resolved by simply adding the UID to the socket name.
S/A https:/ /sourceforge. net/p/geany/ bugs/968/ #0067