Raise file conflicts on differing permissions (user, group, mode)
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 13 Apr 2012 10:16:51 +0000 (13:16 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 13 Apr 2012 10:31:26 +0000 (13:31 +0300)
commitcf1095648194104a81a58abead05974a5bfa3b9a
treea00223c38a60d119d098b4f5600607d265c29faf
parent48c4ed1148cd617b67314353bf7859c1115884b3
Raise file conflicts on differing permissions (user, group, mode)

- Two files (or directories) cannot be correctly shared if their
  permissions differ, even if the content is identical: either
  file will end up having wrong permissions, depending on installation
  order. This means a package can among other things silently
  eg relax permissions of eg security sensitive directory (accidentally
  or intentionallY).
- We now require exact match of user, group and entire file mode
  (previously only the file type part of mode was tested)
lib/rpmfi.c