Dear Wolf,
Thaks a lot for opening my eyes. Finally i have found out the solution it workd fine, manuallu as you said, i referred the man pages of chown and did it manually. The next thing is to test it through a script and finally run the script in the cluster server to do the job. Thank you so much everybody!!!! Three cheers!! --- On Thu, 8/21/08, Wolf <[EMAIL PROTECTED]> wrote: From: Wolf <[EMAIL PROTECTED]> Subject: Re: What is wrong with this script ?? To: [EMAIL PROTECTED] Cc: beginners@perl.org Date: Thursday, August 21, 2008, 8:05 PM ---- Jyotishmaan Ray <[EMAIL PROTECTED]> wrote: > > No it does nt work out as shown below:- > > > [EMAIL PROTECTED] perl]# chown s08-1-5-095:s08-1-5-095 /root/perl/s08-1-5-095 > chown: `s08-1-5-095:s08-1-5-095': invalid group > [EMAIL PROTECTED] perl]# chown $s08-1-5-095:$s08-1-5-095 /root/perl/s08-1-5-095 > > [EMAIL PROTECTED] perl]# chown $s08-1-5-095:$s08-1-5-095 $/root/perl/s08-1-5-095 > chown: invalid option -- 1 > Try `chown --help' for more information. > <!-- SNIP --> > > try using: > chown $id:$gid $dir > > so that it would be > chown 3051:3051 /home/users/s01-5-097 (or whatever) Obviously you didn't follow the examples I provided, or you would have seen that it should have worked, considering it works the world over on all *NIX systems I have ever encountered. Please read further into your sys admin manuals and the manual pages for chown. Once you have fixed your errors, the command will work. Unitil you have fixed your errors though, the issues will remain. Wolf