bug-gnulib
[Top][All Lists]
Advanced

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

Re: copy_file_preserving variant that doesn't exit on error?


From: Jim Meyering
Subject: Re: copy_file_preserving variant that doesn't exit on error?
Date: Tue, 02 Aug 2011 10:24:06 +0200

Reuben Thomas wrote:

> By the way, I note that the return value of chown is ignored where no
> other return value is; is this an oversight, or is it really the case
> that this is the one operation whose failure can be overlooked?

I think the rationalization is that depending on the type of the destination
file system, the chown may be guaranteed to fail (FAT), in which case,
your improved lower-level version could add a parameter to control
whether chown failure is important.



reply via email to

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