Permission denied when launch python script via bash

后端 未结 9 1164
予麋鹿
予麋鹿 2020-12-25 14:50
# ./scripts/replace-md5sums.py
bash: ./scripts/replace-md5sums.py: Permission denied

replace-md5sums.py has chmod 600

         


        
9条回答
  •  囚心锁ツ
    2020-12-25 15:10

    Check for id. It may have root permissions.

    So type su and then execute the script as ./scripts/replace-md5sums.py.

    It works.

提交回复
热议问题