[1006] in Moira
afs.incr question
daemon@ATHENA.MIT.EDU (Dan Winship)
Thu Aug 22 17:47:13 1996
Date: Thu, 22 Aug 1996 17:46:59 -0400 (EDT)
From: danw@MIT.EDU (Dan Winship)
To: moiradev@MIT.EDU
afs_create.pl has this bit of code:
if ($type =~ /ACTIVITY|APROJ|PROJECT/) {
chown($gid,0,$path) ||
die "Unable to set volume ownership\n";
} elsif ($type =~ /HOMEDIR|UROP/) {
chown($uid,0,$path) ||
die "Unable to set volume ownership\n";
}
where $gid is a negative number. But, chown apparently doesn't allow
negative uids under Solaris. (chown(2) returns EINVAL in that case).
So, the oracle server won't be able to set the owner of a locker the
same way the current server does. Can anyone see a way around this? Is
this a problem? Is there some reason to not do chown($uid, $gid,
$path) in all cases instead?
-- Dan