On Tue, 19 Nov 2002, Hernan Brun wrote: > I have a script in /etc/rc.d > If I execute it in rc.local way, not work > > If I change to /etc/rc.d and write ./script > No such file or directory > But the file is there and have x permision!! > What can i do? > The file was copied form backup cdrom
ls -ld /etc/rc.d you need 755 permissions If it is shell script, make sure your first line is something like: #!/bin/bash and that whatever "interpreter" your script identifies exists and is executable too. if it is not a shell script, "file /etc/rc.d/script" and make sure the system recognizes it as an executable file. -- \ \/ / _ |~\ _ In God We Trust. All Others Pay Cash. > < / \|\ /|+-< | | "The world is a comedy to those that think, / /\ \\_/| \/ ||__)|_| a tragedy to those who feel." - Horace Walpole -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list