[Bug 221519] net-im/linux-telegram-desktop: permission issue on access to ~/.local/share
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Aug 14 12:41:30 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221519
Bug ID: 221519
Summary: net-im/linux-telegram-desktop: permission issue on
access to ~/.local/share
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: i at jsteward.moe
CC: henry.hu.sh at gmail.com
Flags: maintainer-feedback?(henry.hu.sh at gmail.com)
CC: henry.hu.sh at gmail.com
Telegram won't start when ran as a normal user, complaining that it cannot open
files under ~/.local/share for writing. Details are as follows.
$ freebsd-version ; uname -a
11.1-RELEASE
FreeBSD FreeBSD-PC 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321309: Fri Jul 21
02:08:28 UTC 2017 root at releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC
amd64
The package is installed via pkg.
Error log from Telegram (inside a crash dialog):
[2017.08.14 20:06:40] Launched version: 1001007, alpha: [FALSE], beta: 0, debug
mode: [FALSE], test dc: [FALSE]
[2017.08.14 20:06:40] Executable dir: /usr/local/lib/telegram-desktop/, name:
Telegram
[2017.08.14 20:06:40] Initial working dir: /usr/home/jsteward/
[2017.08.14 20:06:40] Working dir: /home/jsteward/.local/share/TelegramDesktop/
[2017.08.14 20:06:40] Arguments: "/usr/local/lib/telegram-desktop/Telegram"
[2017.08.14 20:06:40] FATAL: Could not open
'/home/jsteward/.local/share/TelegramDesktop/log_startXX.txt' for writing log!
[2017.08.14 20:06:43] Connecting local socket to
/tmp/1b839500eb491018c817db6c5e85d30a-{87A94AB0-E370-4cde-98D3-ACC110C5967D}...
[2017.08.14 20:06:43] Socket connect error 0, starting server and app...
Note that /home/jsteward/.local/share/TelegramDesktop doesn't exist here.
My home as well as ~/.local/share just have normal permissions (i.e. 0755).
If running `telegram-desktop` as root, things go smoothly and I successfully
get a greeter screen.
I've opened a issue at GitHub as well.
https://github.com/telegramdesktop/tdesktop/issues/3794
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list