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

Installation with setting permissions #39

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Installation with setting permissions #39

wants to merge 3 commits into from

Conversation

ingo-h
Copy link

@ingo-h ingo-h commented Sep 14, 2018

As discussed in issue #38 the system installation fails on my computer. The reason was that the manifest was installed in a wrong directory and permissions are not set because I use an other umask 007 that results on new directories/files to rwxr-x--- permissions. Here is my suggestion for a Makefile that sets permissions and locations that Textern needs according to Manifest location. I have set default location to /usr/lib/mozilla/native-messaging-hosts/textern.json. For the alternative location /usr/lib64/mozilla/native-messaging-hosts/textern.json I have set a link. But these settings I have commented because I could not test it (that's the location my installation does not know) and in the hope that the default setup will run an any computer.

Remake of the Makefile for installation. The conditional installation
for system and user with variable USER=1 is replaced by four rules
native-install-system, native-uninstall-system, native-install-user and
native-uninstall-user. This is because distinct rules simplify setting
different permissions and locations.
Changed installation instruction to use native-install-system,
native-uninstall-system, native-install-user and native-uninstall-user.
@ingo-h ingo-h changed the title Installation whith Installation with setting permissions Sep 14, 2018
Copy link
Contributor

@phdru phdru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good though I haven't tried to run it.

@jlebon
Copy link
Owner

jlebon commented Mar 12, 2023

There's a lot going on here. I'm not sure the duplication introduced from removing USER is worth it. Maybe let's focus this pull request on the issue you hit in #38? Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1318461, it seems like /usr/lib[64] is causing other issues too.

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

Successfully merging this pull request may close these issues.

None yet

3 participants