Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permissions on install too restrictive #18

Closed
phreed opened this issue Mar 3, 2021 · 2 comments
Closed

Permissions on install too restrictive #18

phreed opened this issue Mar 3, 2021 · 2 comments
Assignees

Comments

@phreed
Copy link

phreed commented Mar 3, 2021

This is on CentOS 7.

I used the installation procedure described in README.md

# Downloading the latest release
 curl -fsSL https://github.com/gdubw/gng/releases/latest/download/gng-installer.sh -o gng-installer.sh
 sudo bash ./gng-installer.sh

This resulted in the /opt/gng directory as well as several symbolic links being created with 700 permissions.
This makes gng protected from normal users.

I did a chmod 755 -R /opt/gng and created an alternative.

sudo alternatives --install /usr/bin/gw gw /opt/gng/bin/gng 1

It now seems to be working correctly.

@dantesun
Copy link
Member

I forgot the set the umask, fixed in master branch now.

@dantesun dantesun self-assigned this Mar 29, 2021
@dantesun
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants