Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Aug 2017 12:41:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 221519] net-im/linux-telegram-desktop: permission issue on access to ~/.local/share
Message-ID:  <bug-221519-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221519

            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@FreeBSD.org
          Reporter: i@jsteward.moe
                CC: henry.hu.sh@gmail.com
             Flags: maintainer-feedback?(henry.hu.sh@gmail.com)
                CC: henry.hu.sh@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@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GEN=
ERIC
 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, d=
ebug
mode: [FALSE], test dc: [FALSE]
[2017.08.14 20:06:40] Executable dir: /usr/local/lib/telegram-desktop/, nam=
e:
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/TelegramDesk=
top/
[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 l=
og!
[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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221519-13>