Open ryoma310 opened 2 years ago
I re-executed it on the linux machine according to the guide document, but did not reproduce the problem, can you describe your environment information in detail? Including what is the current executing user.
The execution process is as follows:
I use ubuntu 20.04 in cloud instance, and execute commands in normal user (default user).
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.3 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
this is console screenshot.
I think it cause from the user don't have permittion to execute the script. (so I modified from chmod 655 to chmod 755) The problem may not occured if I execute as group user or other user (because group and other has permittion of execution)
I use ubuntu 20.04 in cloud instance, and execute commands in normal user (default user).
$ cat /etc/os-release NAME="Ubuntu" VERSION="20.04.3 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.3 LTS" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal
this is console screenshot.
I think it cause from the user don't have permittion to execute the script. (so I modified from chmod 655 to chmod 755) The problem may not occured if I execute as group user or other user (because group and other has permittion of execution)
OK, I understand the issue, thanks for your feedback. I will modify the permission problem in the rpm_builder.sh script @ryoma310
The issue is still present in v2.10.0
. It can be installed with sudo but that would not be what most users would want, to install as priviledged user.
when try to make Docker image, I got Permission denied error in
make compile_redis
. the output is belowmodify
redis/rpm_builder.sh
and the code works well.