November 24, 2024, 10:51:54 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: how to give permission a file to execute  (Read 6478 times)

Offline taimur

  • Linux Noob !
  • *
  • Posts: 8
how to give permission a file to execute
« 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

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: how to give permission a file to execute
« Reply #1 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

Offline romano

  • New Member
  • Posts: 1
Re: how to give permission a file to execute
« Reply #2 on: February 02, 2008, 03:35:36 AM »
$chmod u+x file_name

for execute permission which grants the ability to execute a file