From: Jeffery P. H. <je...@bo...> - 2004-08-18 14:16:26
|
Jan, Linux does not use extensions (e.g. .exe, .bat, etc...) for letting the system know that the file is executable. It uses file permissions. the "ls -l /path/to/file" command will tell you the permissions on a file run this command: ls -l /etc/init.d/backuppc permissions work this way: [jeff@firewall jeff]$ ls -l /etc/init.d/backuppc -r-xr-xr-x 1 root root 1793 Jul 23 17:33 /etc/init.d/backuppc the first column "-r-xr-xr-x" is the permissions the first entry is the filetype - (- for a regular file; d for directory, l for link, etc....) you are concerned about the rest of the column. postitions 2 3 and 4 are permissions for the owner of the file (here, root) postitions 5 6 and 7 are permissions for the group of the file (here, also root) postitions 8 9 and 10 are permissions for the rest of the world if the x is not set on the file, it is not executable. run the command "chmod o+x /etc/init.d/backuppc" to set executable for the owner. read the "man chmod" for more precise information. -JPH Jan Kellerhoff wrote: >Hello folks, > >I am new, to linux, backuppc and to this mailinglist also... >Maybe somewone can help me, I tried to setup Backuppc on suse 9.1, >but then I am told that the script is not executable, not by insserv and >also not by chkconfig backuppc 345 ... also I renamed it... >it just tells me script is not executeable, any ideas??? > >With best regards, > > Kelly > > > >------------------------------------------------------- >SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >_______________________________________________ >BackupPC-users mailing list >Bac...@li... >https://lists.sourceforge.net/lists/listinfo/backuppc-users >http://backuppc.sourceforge.net/ > > |