Giter Club home page Giter Club logo

Comments (10)

illiliti avatar illiliti commented on July 23, 2024

Do what usage says: https://github.com/illiliti/ssu#usage. If you did already, make sure that ssu is owned by root and that permissions are set correctly.

from ssu.

Chirunos avatar Chirunos commented on July 23, 2024

Did what usage heading said with the following commands ("g" is my user name):

sudo chown root:g /usr
sudo chmod 4754 /usr

And with:

sudo chown root:g /usr/bin/ssu
sudo chmod 4754 /usr/bin/ssu

But I'm still getting the error.

I've built the program using make || make CC=cc again (I've deleted ssu and ssu.o) and then sudo make PREFIX=/usr install (this is the output for the second command:

mkdir -p     /usr/bin
cp    -f ssu /usr/bin
chown root:wheel /usr/bin/ssu
chown: invalid group: ‘root:wheel’
make: *** [Makefile:24: install] Error 1

By the way, when I run commands with sudo before ssu, it works fine. I think I set the wrong permissions, but I don't know which ones

from ssu.

illiliti avatar illiliti commented on July 23, 2024

Why /usr and /etc? Where did you get these paths? You need to set permissions to ssu binary /usr/bin/ssu, not to some random paths.

"g" must be the group you are in, not username.

this is the output for the second command:

This error is harmless.

from ssu.

Chirunos avatar Chirunos commented on July 23, 2024

Why /usr and /etc?

Updated my comment, pasted the wrong command 😓

"g" must be the group you are in, not username.

"g" is shown in groups

from ssu.

illiliti avatar illiliti commented on July 23, 2024

What does id -gn print?

from ssu.

Chirunos avatar Chirunos commented on July 23, 2024

g

from ssu.

illiliti avatar illiliti commented on July 23, 2024

Then these commands should make ssu work(assuming that ssu exists in /usr/bin/):

sudo chown root:g /usr/bin/ssu
sudo chmod 4754 /usr/bin/ssu

from ssu.

Chirunos avatar Chirunos commented on July 23, 2024

They don't. ssu is in /usr/bin

from ssu.

illiliti avatar illiliti commented on July 23, 2024

If ssu is in /usr/bin, then I don't see why they wouldn't work.

Or rather, they must work in that case.

from ssu.

Chirunos avatar Chirunos commented on July 23, 2024

Had to make a clean install for it to work

from ssu.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.