View Single Post

   
  #7 (permalink)  
Old 01-19-2008, 07:39 AM
William Comeau
 
Posts: n/a
Default Re: Can't maks shell script excutable!!

Andy Fraser wrote:
> In alt.os.linux.debian, William Comeau uttered the immortal words:
>
>
>>>You said you wanted it to be executable and have confirmed that the
>>>executable bit is set. There's nothing wrong with it. The output of "ls
>>>-l" would be more useful than posting what some unspecified GUI file
>>>manager says in determining that the executable bit really *is* set.
>>>
>>>What were you expecting to see?
>>>

>>
>>I did a ls -1 and the results below for S60netstart file in dir
>>/ete/rcs.d.

>
>
> "ls -l" < lower-case L
> not "ls -1" < number one
>


Sorry about that chief,giving you the wrong info doesn't help you or me.
Hope this is the right info.The file is the fourth from the bottom.

root@9[rcS.d]# ls -l
total 8
-rw-r--r-- 1 root root 701 2004-06-09 08:47 README
lrwxrwxrwx 1 root root 21 2004-12-11 19:37 S02mountvirtfs ->
.../init.d/mountvirtfs
lrwxrwxrwx 1 root root 18 2004-12-11 19:37 S05bootlogd ->
.../init.d/bootlogd
lrwxrwxrwx 1 root root 19 2004-12-11 19:37 S05keymap.sh ->
.../init.d/keymap.sh
lrwxrwxrwx 1 root root 16 2004-12-11 19:37 S07hdparm -> ../init.d/hdparm
lrwxrwxrwx 1 root root 22 2004-12-11 19:37 S10checkroot.sh ->
.../init.d/checkroot.sh
lrwxrwxrwx 1 root root 25 2004-12-11 19:37 S18hwclockfirst.sh ->
.../init.d/hwclockfirst.sh
lrwxrwxrwx 1 root root 24 2004-12-11 19:37 S18ifupdown-clean ->
.../init.d/ifupdown-clean
lrwxrwxrwx 1 root root 27 2004-12-11 19:37 S20module-init-tools ->
.../init.d/module-init-tools
lrwxrwxrwx 1 root root 18 2004-12-11 19:37 S20modutils ->
.../init.d/modutils
lrwxrwxrwx 1 root root 23 2004-12-11 19:37 S21mepis-auto.sh ->
.../init.d/mepis-auto.sh
lrwxrwxrwx 1 root root 20 2004-12-11 19:37 S30checkfs.sh ->
.../init.d/checkfs.sh
lrwxrwxrwx 1 root root 23 2004-12-11 19:37 S30etc-setserial ->
.../init.d/etc-setserial
lrwxrwxrwx 1 root root 19 2004-12-11 19:37 S30procps.sh ->
.../init.d/procps.sh
lrwxrwxrwx 1 root root 19 2004-12-11 19:37 S30setserial ->
.../init.d/setserial
lrwxrwxrwx 1 root root 27 2004-12-11 19:37 S31mepis-pcmcia.sh ->
/etc/init.d/mepis-pcmcia.sh
lrwxrwxrwx 1 root root 21 2004-12-11 19:37 S35mountall.sh ->
.../init.d/mountall.sh
lrwxrwxrwx 1 root root 21 2004-12-11 19:37 S36mountvirtfs ->
.../init.d/mountvirtfs
lrwxrwxrwx 1 root root 18 2004-12-11 19:37 S38pppd-dns ->
.../init.d/pppd-dns
lrwxrwxrwx 1 root root 18 2004-12-11 19:37 S39ifupdown ->
.../init.d/ifupdown
lrwxrwxrwx 1 root root 21 2004-12-11 19:37 S40hostname.sh ->
.../init.d/hostname.sh
lrwxrwxrwx 1 root root 20 2004-12-11 19:37 S40networking ->
.../init.d/networking
lrwxrwxrwx 1 root root 21 2004-12-11 19:37 S45mountnfs.sh ->
.../init.d/mountnfs.sh
lrwxrwxrwx 1 root root 27 2004-12-11 19:37 S48console-screen.sh ->
.../init.d/console-screen.sh
lrwxrwxrwx 1 root root 20 2004-12-11 19:37 S50hwclock.sh ->
.../init.d/hwclock.sh
lrwxrwxrwx 1 root root 21 2004-12-11 19:37 S55bootmisc.sh ->
.../init.d/bootmisc.sh
lrwxrwxrwx 1 root root 17 2004-12-11 19:37 S55urandom -> ../init.d/urandom
-rwxr-xr-x 1 root root 482 2004-12-11 20:20 S60natstart < FILE is here
lrwxrwxrwx 1 root root 18 2004-12-11 19:37 S65guarddog ->
.../init.d/guarddog
lrwxrwxrwx 1 root root 24 2004-12-11 19:37 S70xfree86-common ->
.../init.d/xfree86-common
lrwxrwxrwx 1 root root 14 2004-12-11 19:37 S75sudo -> ../init.d/sudo
root@9[rcS.d]#

Thanks

William
Reply With Quote