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

sudo cp /run-timeout.sh /usr/local/bin cp -- No such file or directory #4

Open
Marco-exports opened this issue Sep 24, 2020 · 2 comments

Comments

@Marco-exports
Copy link

Hi Dougie,

As I was following your README.md, I tried:

Copy to /usr/local/bin and make it setuid to allow anyone to run it.

sudo cp ./timeout /usr/local/bin
sudo cp ./lsinput /usr/local/bin
sudo cp /run-timeout.sh /usr/local/bin
sudo chmod +s /usr/local/bin/timeout
sudo chmod +s /usr/local/bin/run-timeout.sh

I got stuck on :

sudo cp /run-timeout.sh /usr/local/bin

**cp: cannot stat '/run-timeout.sh': No such file or directory**

I removed the "/" before run-timeout.sh, and that fixed it !

Maybe just a typo in your README.md :-)

Cheers,

Marco

@laur89
Copy link

laur89 commented Nov 24, 2020

sudo cp ./run-timeout.sh /usr/local/bin

@wolffman-one
Copy link

sudo cp ./run-timeout.sh /usr/local/bin

this is the correct answer

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

3 participants