[Rpm-maint] Do not abort if chown/chmod fails but the file is already correct

Michael Schroeder mls at suse.de
Mon May 16 16:13:21 UTC 2011


This small patch makes rpm not abort the installation if chown()/chmod()
faild but the files already have the correct ownership/mode.
It also allows a failed mtime update on directories.

IIRC the use case was some NFS mounted directory.

Cheers,
  Michael.

-- 
Michael Schroeder                                   mls at suse.de
SUSE LINUX Products GmbH,  GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chownwarn.diff
Type: text/x-patch
Size: 1982 bytes
Desc: not available
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20110516/2b55d999/attachment.bin>


More information about the Rpm-maint mailing list