bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6913: change file ownership/permissions from root to user fail even


From: Eric Blake
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
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Fedora/3.1.2-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.2

On 08/25/2010 11:23 AM, Philipp Thomas wrote:
* John McMillan (address@hidden) [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   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]