Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Linux Software => Linux Application => Topic started by: taimur on January 16, 2008, 10:30:59 PM

Title: how to give permission a file to execute
Post by: taimur on January 16, 2008, 10:30:59 PM
HI
I M USING COMMAND LINE BY TERMINAL THERE IS A FILE I WANT TO EXECUTE IT BUT IT GIVES - bash   permission denaid      I WANT TO GIVE IT A PERMISSION BY COMMAND LINE IT IS POSSIBLE
Title: Re: how to give permission a file to execute
Post by: Ricky on January 19, 2008, 01:11:13 PM
You need to give it proper permission.

See this post I did once :
Chmod help in linux (http://www.linuxsolved.com/linux-forums/miscellaneous/chmod-help-in-linux-and-ftp-and-windows-777-666-t175.0.html)
Title: Re: how to give permission a file to execute
Post by: romano on February 02, 2008, 03:35:36 AM
$chmod u+x file_name

for execute permission which grants the ability to execute a file