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

Permission issue #50

Open
Sundar78910 opened this issue Nov 21, 2019 · 3 comments
Open

Permission issue #50

Sundar78910 opened this issue Nov 21, 2019 · 3 comments

Comments

@Sundar78910
Copy link

Hi,

I don't have access to install this in /usr/local/bin, is there any other solution to perform with this tool FengNiao

@onevcat
Copy link
Owner

onevcat commented Nov 22, 2019

You can just run swift build -c release after cloning, then find the executable as .build/release/FengNiao. Copy it to any place in the PATH of your shell and you have permission to write.

cp .build/release/FengNiao /usr/yourBin/fengniao

@onevcat
Copy link
Owner

onevcat commented Nov 22, 2019

Or you can just run it without any copying.

.build/release/FengNiao --version

@nice2m
Copy link

nice2m commented Apr 13, 2020

Or you can just run it without any copying.

.build/release/FengNiao --version

./install.sh results error in [6/6] Linking FengNiao cp: /usr/local/bin/fengniao: Permission denied,
while sudo ./install.sh works
and output is [6/6] Linking FengNiao,
finally the version is,fengniao --version 0.7.0
Is it not proper using sudo ?

environment:
Apple Swift version 5.1 (swiftlang-1100.0.270.13 clang-1100.0.33.7)
Target: x86_64-apple-darwin19.4.0
Catalina 10.15.4 (19E266)

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