Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jun 2023 03:06:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272003] devel/linux-sublime-merge: Permissions to /usr/local/share/sublime-merge/ssh-ask-keypass-sublime sub-optimal
Message-ID:  <bug-272003-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 272003
           Summary: devel/linux-sublime-merge: Permissions to
                    /usr/local/share/sublime-merge/ssh-ask-keypass-sublime
                    sub-optimal
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ericbsd@FreeBSD.org
          Reporter: frostygoth@hotmail.com
          Assignee: ericbsd@FreeBSD.org
             Flags: maintainer-feedback?(ericbsd@FreeBSD.org)

Hello,

I installed linux-sublime-merge this morning and was able to activate it and
get basic functionality out of it right out of the box. Thanks Eric!

However, when trying to pull from GitHub with Personal Access Tokens enforc=
ed I
got the error below.

"/usr/local/share/sublime-merge/git-credential-sublime get:
/usr/local/share/sublime-merge/git-credential-sublime: Permission denied
fatal: cannot exec '/usr/local/share/sublime-merge/ssh-askpass-sublime':
Permission denied
fatal: could not read Username for 'https://github.com': terminal prompts
disabled"

I checked the permissions of /usr/local/share/sublime-merge/ssh-askpass-sub=
lime
and confirmed they were...=20
"-rw-r--r--  1 root  wheel      5216 Feb  6 15:44 ssh-askpass-sublime"=20
so I didn't have permissions to execute the binary.=20

Easy fix was to update the permissions to the following...=20
"-rwxrwxr--  1 root  wheel      5216 Feb  6 15:44 ssh-askpass-sublime"=20
No big deal, however that does keep some functionality of the program locked
until the change is made.=20

If this is a design decision due to a security concern, I totally respect t=
hat.
However, I think changing the default permissions to include execution of at
least the wheel group is a sane default and would improve the functionality=
 of
this software, making it that much easier to use FreeBSD!

Please let me know if you need additional information!



Basic OS and Package info...

uname -a : FreeBSD <computer_name> 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3
GENERIC amd64

pkg info linux-sublime-merge
linux-sublime-merge-2083
Name           : linux-sublime-merge
Version        : 2083
Installed on   : Wed Jun 14 06:10:48 2023 CDT
Origin         : devel/linux-sublime-merge
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Categories     : linux devel
Licenses       : SUBLIMEHQ
Maintainer     : ericbsd@FreeBSD.org
WWW            : https://www.sublimemerge.com/
Comment        : Cross-platform Git client, done the Sublime Text way
Annotations    :
        FreeBSD_version: 1301000
        repo_type      : binary
        repository     : FreeBSD

--=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-272003-7788>