Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 5 Mar 2001 14:06:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 5 Mar 2001 14:06:18 -0500 Received: from xorn.math.fu-berlin.de ([160.45.45.167]:3712 "EHLO fefe.de") by vger.kernel.org with ESMTP id ; Mon, 5 Mar 2001 14:06:07 -0500 Date: Mon, 5 Mar 2001 20:06:23 +0100 From: Felix von Leitner To: linux-kernel@vger.kernel.org Subject: chown bug Message-ID: <20010305200623.A18183@fefe.de> Mail-Followup-To: linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org The man page says: If the owner or group is specified as -1, then that ID is not changed. If user !root says chown("/usr",-1,-1), he gets EPERM. Why? He explicitly told the kernel that he does not actually want to change anything. Why would the kernel say EPERM? Felix - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/