[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] ups... sun doesn't know itself :-) / cmu-trouble
- Subject: Re: [cobalt-developers] ups... sun doesn't know itself :-) / cmu-trouble
- From: Jeff Bilicki <jeff.bilicki@xxxxxxx>
- Date: Thu May 23 10:17:57 2002
- Organization: Sun Microsystems, Inc.
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
Harald Kapper wrote:
>
> On Thu, 23 May 2002 01:05:07 +0200, you wrote:
>
> >
> >Are you using CMU version 2.27? That particular problem is fixed in the most
> >recent version - as far as I know:
> >
> >http://www.cobalt.com/support/download/migration.html
>
> hi
> thanks for the hint, but in fact we o'coz use 2.27 - but this didn't solve the problem for us...
>
> thx
> Harald Kapper kapper.net, inc.
> managing director loeblichgasse 6
> chief software development 1090 vienna, .at
> tel +43 1 3195500-0, fax +43 1 3195502, hk@xxxxxxxxxx
Yes, this is a know bug in CMU version 2.27, it will be fix in the next
release of CMU, which is currently in testing.
To fix your current problem apply the following patch to CMU. It will
fix the problem of setting permissions on files where the user name
contains a period.
To apply the patch use the following command:
patch -p0 < userdot-2.27.patch
You can also download it from:
ftp://ftp.cobaltnet.com/pub/users/jeffb/cmu/userdot-2.27.patch
-
Jeff Bilicki
Sun Cobalt Server Appliances
Sun Microsystems Inc.
--- /usr/cmu/perl/Archive.pm.orig Thu May 23 09:45:17 2002
+++ /usr/cmu/perl/Archive.pm Thu May 23 09:48:35 2002
@@ -402,7 +402,7 @@
chdir "$dir" || cmuLog("ERROR","Could not chdir to $dir: $!\n");
foreach my $file (@{ $self->{tree}->{ $self->set }->{file} }) {
if(defined $file->{uid} && defined $file->{gid}) {
- my $chownCmd = $self->cfg('chownBin')." ".$file->{uid}.".".
+ my $chownCmd = $self->cfg('chownBin')." ".$file->{uid}.":".
$file->{gid}." \"".$file->{name}."\"";
#warn "chownCmd: ", $chownCmd, "\n";
#chown $file->{uid}, $file->{gid}, qw( $realFile );