Permission issue
Sundar78910 opened this issue · comments
Hi,
I don't have access to install this in /usr/local/bin, is there any other solution to perform with this tool FengNiao
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
Or you can just run it without any copying.
.build/release/FengNiao --version
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)