Permission denied when launch python script via bash

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

replace-md5sums.py has chmod 600

         


        
9条回答
  •  梦毁少年i
    2020-12-25 15:14

    I'm a Ubuntu user and I had the same issue, when I was trying to run python script through a bash script while files were located in a NTFS partition (even with su didn't work) then I've moved it home (ext4) then it worked.

提交回复
热议问题