[470] in arla-drinkers
Re: Chown problem with arla
daemon@ATHENA.MIT.EDU (Magnus Ahltorp)
Sat Jan 9 19:36:07 1999
From owner-arla-drinkers@stacken.kth.se Sun Jan 10 00:36:05 1999
Return-Path: <owner-arla-drinkers@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 2034 invoked from network); 10 Jan 1999 00:36:04 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
by bloom-picayune.mit.edu with SMTP; 10 Jan 1999 00:36:04 -0000
Received: (from majordom@localhost)
by sundance.stacken.kth.se (8.8.8/8.8.8) id BAA23158
for arla-drinkers-list; Sun, 10 Jan 1999 01:31:29 +0100 (MET)
Received: from scup.pdc.kth.se (scup.pdc.kth.se [130.237.221.66])
by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id BAA23154
for <arla-drinkers@stacken.kth.se>; Sun, 10 Jan 1999 01:31:25 +0100 (MET)
Received: (from d95-mah@localhost)
by scup.pdc.kth.se (8.8.7/8.8.7) id BAA23345;
Sun, 10 Jan 1999 01:31:12 +0100 (MET)
To: Jim Nance <jim_nance@yahoo.com>
Cc: arla-drinkers@stacken.kth.se
Subject: Re: Chown problem with arla
References: <19990108212754.11913.rocketmail@send203.yahoomail.com>
From: Magnus Ahltorp <map@stacken.kth.se>
Date: 10 Jan 1999 01:31:12 +0100
In-Reply-To: Jim Nance's message of "Fri, 8 Jan 1999 13:27:54 -0800 (PST)"
Message-ID: <ixdvhigrmsv.fsf@scup.pdc.kth.se>
Lines: 16
X-Mailer: Gnus v5.6.45/Emacs 19.34
Sender: owner-arla-drinkers@stacken.kth.se
Precedence: bulk
Sorry for not answering this until now, but we've been trying to track
the problem.
> Basically the chown system call is returning 1. According to the
> man page it can only return 0 or -1. The mv command is getting
> confused by this. The mv command is changing the owner/group to the
> value that they already have so I think the call should return 0.
The problem is most probably caused by a file system function
returning a positive errno (negative errno:s are used in the Linux
kernel). I don't see how that can happen, though. I have seen this
problem, but only once on one machine since the last snapshot. Do you
have a test case that will cause this problem?
/Magnus
map@stacken.kth.se