[Bug 272003] devel/linux-sublime-merge: Permissions to /usr/local/share/sublime-merge/ssh-ask-keypass-sublime sub-optimal
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 15 Jun 2023 03:06:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272003
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 enforced 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-sublime
and confirmed they were...
"-rw-r--r-- 1 root wheel 5216 Feb 6 15:44 ssh-askpass-sublime"
so I didn't have permissions to execute the binary.
Easy fix was to update the permissions to the following...
"-rwxrwxr-- 1 root wheel 5216 Feb 6 15:44 ssh-askpass-sublime"
No big deal, however that does keep some functionality of the program locked
until the change is made.
If this is a design decision due to a security concern, I totally respect that.
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
--
You are receiving this mail because:
You are the assignee for the bug.