|
From: Yah Navatkah on 16 May 2008 08:39 do I need special perms to do this? Have a script that runs on another sys (RHEL 3) ok and sets LOGNAME var, but now when I run it on a new sys I get an error: cpr -pxerox3 /etc/hosts ocl: line 1: LOGNAME=cosmos: not found any ideas? b
From: Jim Cochrane on 16 May 2008 23:43 On 2008-05-16, Yah Navatkah <edison(a)newpaltz.edu> wrote: > do I need special perms to do this? Have a script > that runs on another sys (RHEL 3) ok and sets LOGNAME > var, but now when I run it on a new sys I get an error: > > cpr -pxerox3 /etc/hosts > ocl: line 1: LOGNAME=cosmos: not found > > any ideas? That looks like a runtime error (nothing to do with permissions) - the shell executing your script appears to think that it was told that LOGNAME=cosmos is a file name - it was probably trying to execute it and since it does not exist, gives the error message. What is ocl? Is the script a bash or sh script? It would help if you post the contents of the script, or an adequate excerpt, and give much more information about the context in which you're running it. --
|
Pages: 1 Prev: Internet Sharing on Fedora Next: Fedora 9 - how to replace gdm with kdm |