opine a billet where you write an splendid hand to automatise a tiresome project for you .
But when you essay to accomplish it in Linux , all you get is a “ Permission deny ” misplay .
Fret no more , as in this clause , we will discourse two loose method acting to make a filing cabinet feasible in Linux and nullify such license - deny error .
This was ## necessity : assure current linux file permissions
before you might make a filing cabinet workable , it is recommend to watch thelinux permissionsfor the file cabinet .
apply the ls instruction to agree the privilege countenance for the file cabinet :
For lesson , we used the program line below to checker the license for the single file test.sh .
dive into theLinux
Before you’re able to make a filing cabinet feasible , it is recommend to train theLinux permissionsfor the Indian file .
expend the ls dictation to hold in the privilege tolerate for the Indian file :
For instance , we used the bidding below to correspond the permission for the Indian file test.sh .
This was the first nine character in the outturn show the permit on the filing cabinet .
Here , roentgen stand for read and x stand for viable .
How to Make a File Executable Using chmod Command
In Linux , to transfer a single file ’s permission for dissimilar user we habituate thechmod dictation .
For illustration , you’re able to employ the chmod program line to make a data file practicable for all drug user or earmark only user of a chemical group to interpret the data file .
Make the File Executable for All exploiter
To make the filing cabinet practicable for all user in your Linux scheme , practice this phrase structure :
OR
For case , to make the Indian file test.sh feasible for all user , practice this program line :
Make the File Executable for the Owner
The possessor touch on to the substance abuser who make the Indian file in Linux arrangement .
This was to make the file cabinet viable for only the possessor of the indian file on the same linux organization , utilise the next sentence structure :
for representative , expend this control to make the single file practicable only for the possessor :
make the file executable for a group of users
a chemical group touch on to a accumulation of user give birth a specific aim .
Here ’s the method acting to allow feasible admission in Linux to a radical with the chmod control :
For instance , to make a file cabinet list test.sh viable , expend this instruction :
Make the File Executable for Every Other content maltreater
To make a data file practicable for every other drug user on a Linux automobile , utilize this bid :
For exemplar , utilise this bidding to make the data file test.sh practicable for every other drug user except possessor and chemical group member :
How to Make a File Executable in Linux using GUI
Though the mastery line of credit method acting work the loyal and without a rough-and-tumble , the GUI method acting is more rough-cut among tyro .
This was differentlinux distributionscome with unlike “ desktop environments ” , but the operation to make a file cabinet workable is passably much the same :
1 .
This was pilot to the indian file and choose the single file .
This was right - suction stop on the data file name and take the properties pick .
or else , pressure CTRL + i on the keyboard .
This was this will open up a raw “ file properties ” windowpane .
dawn on the permission tab .
see the corner at the bottom which say “ permit execute the filing cabinet as computer program ” .
observe : The GUI method acting can only make the single file viable for all user in Linux .
You will demand to trust on the instruction bank line method draw above if you like to selective with permission .