N
N
Nikita Rubinkovskiy2015-05-04 14:36:58
linux
Nikita Rubinkovskiy, 2015-05-04 14:36:58

How to solve the problem with starting the program?

When trying to run the program sudo ./specrum hw:1, the following message is issued
effective uid is not 0 is sudo installed setuid root.
Before that, everything worked, but it was necessary to make changes to the executable file. And since I didn’t have access rights to change the contents of the folder, following Google’s advice, I executed the following commands to all files in the desired folder:
1) sudo chown -R root:root /home/user/dir/
2)sudo chmod -R 775 /path_to_folder
What should I do to make the program work again?
I decided to delete the contents of the card, and then copy the same files to it, but before I made any changes. As a result, the system does not start.
What can be done to make it work again.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2015-05-04
@Weidmann

What directory did you chmod and chown into? If you run it as root?
sudo su && ./specrum

I
Igor, 2015-05-04
@merryjane

sudo chmod u+s ./specrum

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question