-bash: /usr/bin/asciinema: Permission denied

#1

cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
uname -a
Linux app-srv-adm-prod-2 3.10.0-862.9.1.el7.x86_64 #1 SMP Mon Jul 16 16:29:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
python
python python2 python2.7 python3 python3.4 python3.4m
I did
git clone https://github.com/asciinema/asciinema.git
cd asciinema/
python3 -m asciinema --version
asciinema 2.0.1
python3 setup.py install
Everything is good under root but under new user id uid=1004(tester) gid=1004(tester) groups=1004(tester) i get
$asciinema
-bash: /usr/bin/asciinema: Permission denied

Solution
sudo chmod o+rx /usr/bin/asciinema
sudo chmod -R o+rx /usr/lib/python3.4/site-packages/asciinema-2.0.1-py3.4.egg

0 Likes

#2

sudo chmod o+rx /usr/bin/asciinema
sudo chmod -R o+rx /usr/lib/python3.4/site-packages/asciinema-2.0.1-py3.4.egg

0 Likes