Home > OS >  Bash - c problem
Bash - c problem

Time:12-31

,

Bash a. sh can run normally
Bash - c "a.s h", submitted to the Permission Denied.

This is what circumstance?

CodePudding user response:

Bash a.s h can be executed directly, bash - c "a.s h" need permissions, first change permissions chmod 0777 a.s h

CodePudding user response:

And bash - c "XXX", XXX is a command, a.s h no command, should be a bash - c "./a.s h"
  • Related