Closed chenrui333 closed 3 years ago
Hi
This means that the original issue that https://github.com/ideawu/ssdb/pull/1374 intended to fix is now back:
If ssdb is installed by root, then an unprivileged user cannot run ssdb-cli because he has no privileges to write the .py/.pyc files generated from the .cpy code. root needs to invoke ssdb-cli at least once after installation, my change made this part of the Makefile build/install.
Hi, I will add these to Makefile:
install:
chmod 777 ${PREFIX}/_cpy_
Ehh no, that is https://github.com/ideawu/ssdb/pull/1330 back again. You should never make executables world-writable, that is a serious security issue!
The py code needs to be generated just once, this should be done at build or install time, no later.
Can you please revert this chmod 777
?
reverts #1374