From owner-freebsd-stable Wed May 31 12:59:39 2000 Delivered-To: freebsd-stable@freebsd.org Received: from rr.com (rdu25-28-182.nc.rr.com [24.25.28.182]) by hub.freebsd.org (Postfix) with ESMTP id 18A4837B564 for ; Wed, 31 May 2000 12:59:33 -0700 (PDT) (envelope-from rhh@rr.com) Received: (from rhh@localhost) by rr.com (8.9.3/8.9.3) id QAA01331 for stable@freebsd.org; Wed, 31 May 2000 16:00:40 -0400 (EDT) (envelope-from rhh) Date: Wed, 31 May 2000 16:00:40 -0400 From: Randall Hopper To: stable@freebsd.org Subject: cp fails to do utimes() (??) Message-ID: <20000531160040.A1299@nc.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Why does cp fail to do utimes on a FAT partition when I'm a normal user but it succeeds when I'm root? I can write the file as either user, but in the non-root case the resulting file modification time is wrong. > cp -p ~/xcpy2253.zip . cp: utimes: ./xcpy2253.zip: Operation not permitted cp: chown: ./xcpy2253.zip: Operation not permitted > su Password: # cp -p ~/xcpy2253.zip . cp: chown: ./xcpy2253.zip: Invalid argument Is there a way I can get it to succeed with utimes when cp is running as a normal user? Thanks, Randall -- Randall Hopper aa8vb@nc.rr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message