GNU bug report logs - #6913
change file ownership/permissions from root to user fail even with success confirmation

Previous Next

Package: coreutils;

Reported by: mcmillan <at> skybest.com

Date: Wed, 25 Aug 2010 16:35:02 UTC

Severity: normal

Tags: notabug

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eric Blake <eblake <at> redhat.com>
To: Philipp Thomas <pth <at> suse.de>
Cc: bug-coreutils <at> gnu.org
Subject: bug#6913: change file ownership/permissions from root to user fail	even with success confirmation
Date: Wed, 25 Aug 2010 12:26:48 -0600
On 08/25/2010 11:23 AM, Philipp Thomas wrote:
> * John McMillan (mcmillan <at> skybest.com) [20100825 19:06]:
>
>> to which I receive the following confirmation -
>> changed ownership of `/media/C:/Documents and Settings/John/My
>> Documents/Word/John/Augustine.doc' to john:john
>
> Looks like this is a DOS/WIN partition, i.e. vfat or ntfs. These file
> systems don't know of unix style access rights.  Owning user are group are
> set via mount options (see 'man 8 mount') and can't be changed by chown.
> This is a shortcoming of the file system, not of chown.

Additionally, if the file system claims that chown() succeeded when it 
in fact did nothing, then that would be a bug in the file system driver, 
to be fixed by the kernel folks (that is, it is not coreutils' job to 
detect whether the chown() syscall has a buggy return value for your 
file system).

-- 
Eric Blake   eblake <at> redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




This bug report was last modified 6 years and 311 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.