Hello Rahul, Tuesday, December 04, 2001, Rahul Garg <[EMAIL PROTECTED]> wrote:
RG> Also, the script is working fine if i am changing permissions manually .it RG> is fetching and appending data to $r_file RG> Any suggestions.. 'no such file or directory' means, that your $r_file does not exists. looking at RG> error :Cannot chmod : no such file or directory produced by RG> die "Cannot chmod $r_file: $!"; i can see, that your $r_file does not contain anything. RG> ----- Original Message ----- RG> From: Rahul Garg <[EMAIL PROTECTED]> RG> To: <[EMAIL PROTECTED]>; John W. Krahn <[EMAIL PROTECTED]> RG> Sent: Tuesday, December 04, 2001 6:57 PM RG> Subject: Re: problem executing linux command in perl RG> chmod 0777, $r_file or die "Cannot chmod $r_file: $!"; RG> giving error : RG> error :Cannot chmod : no such file or directory Best wishes, Maxim mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]