dr-elephant icon indicating copy to clipboard operation
dr-elephant copied to clipboard

installer tries to access /scripts in the root

Open Tagar opened this issue 7 years ago • 1 comments

compile.sh shows

Try 'cp --help' for more information.
+ mkdir /scripts/
mkdir: cannot create directory ‘/scripts/’: Permission denied
+ cp -r /opt/elephant/dr-elephant/scripts/pso /scripts/
cp: cannot create directory ‘/scripts/’: Permission denied
+ zip -r .zip

zip error: Nothing to do! (.zip)
+ mv .zip /opt/elephant/dr-elephant/dist/
mv: cannot stat ‘.zip’: No such file or directory

How to fix it so it doesn't try to access /scripts? (in root) I assume it wanted to use scripts in the current directory.

Tagar avatar Oct 24 '18 01:10 Tagar

Hi @Tagar, I never faced such a permission problem, I think this is due to the /opt directory in which you are compiling. Kindly try to compile in some other user access folder.

ShubhamGupta29 avatar Mar 27 '19 10:03 ShubhamGupta29