---- 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

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to