LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   set Default Execute permission (https://www.linuxquestions.org/questions/programming-9/set-default-execute-permission-4175480709/)

reza_zah1991 10-14-2013 06:00 AM

set Default Execute permission
 
hi folks,,,
i want to create a file in java & run it,,But the problem is ,,
in the linux ,,Default Permission for Executation is -,, but i want every file will be create, have X permission,,

how can i do that?

andrewthomas 10-14-2013 06:08 AM

read
Code:

man chmod

Code:

chmod +x filename

NevemTeve 10-14-2013 06:14 AM

> i want to create a file in java & run it,

No, you don't; you have misunderstood something.


All times are GMT -5. The time now is 09:25 PM.