March 28, 2024, 06:51:35 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Unable to execute scripts in Red Hat 9.0  (Read 6121 times)

Offline keen_prat

  • Linux Noob !
  • *
  • Posts: 21
Unable to execute scripts in Red Hat 9.0
« on: December 22, 2003, 08:05:06 AM »
HI..
i just moved from RH 7.2 to RH 9.0 .
I saw here threads about transparent proxy.. so i created a script with the help of threads discussed here . Now i m unable  to execute that.. although... i was earlier able to execute it on RH7.3
What could be the prob ??

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Unable to execute scripts in Red Hat 9.0
« Reply #1 on: December 22, 2003, 12:47:08 PM »
It looks that you have not made that script executable... do the following..
Code: [Select]
chmod 755 <ur script> and then tell us...

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
Unable to execute scripts in Red Hat 9.0
« Reply #2 on: February 20, 2004, 03:01:30 PM »
I normally used this method:

    chmod +x <ur scriptname>

+x means make the file eXecutable.

Other posible settings will be:
+r   enable read
+w  enable write