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 to run #1

Closed
josephernest opened this issue Jul 9, 2020 · 3 comments
Closed

Permissions to run #1

josephernest opened this issue Jul 9, 2020 · 3 comments
Labels
question Further information is requested

Comments

@josephernest
Copy link

josephernest commented Jul 9, 2020

Congrats for this great project!

What do you recommend to use it?

  • put lacy in a myscript/ directory which is in your PATH? (then I need to chmod +x lacy, is that right?)

  • or put it anywhere and do an alias in .bashrc to be able to use it from anywhere?

@alcover
Copy link
Owner

alcover commented Jul 9, 2020

Thanks !

Yes, all those ways are correct.

That is what the install.sh script does :

  • create a /home/you/bin if absent
  • add bin/ to PATH
  • update .bashrc
  • hardlink lacy to bin
  • chmod it

Please tell me if the script works for you.
Maybe this script should be advertized in the README ?

@alcover alcover added the question Further information is requested label Jul 9, 2020
@josephernest
Copy link
Author

Good idea!
Not sure if /home/user1/bin or /home/user1/.bin is a standard practice to store personal scripts, or if there's a dedicated directory for this (/usr/bin/? sbin? etc.). Would be cool to ask someone wiser than me to know the most usual usages about this :)

@alcover alcover reopened this Jul 9, 2020
@alcover
Copy link
Owner

alcover commented Jul 9, 2020

I took the liberty to re-open your thread.

Yes ~/bin is common practice.
You can see it in .profile :

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"

@alcover alcover closed this as completed Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants