teknoraver / rpms / rpm

Forked from rpms/rpm 3 months ago
Clone

11a33b reflink: set metadata for hardlinked files

Authored and Committed by teknoraver 2 months ago
    reflink: set metadata for hardlinked files
    
    RPM deduplicates identical files by creating them as hardlinks.
    Since metadata is shared between copies, permissions are set when
    extracting the last copy.
    This breaks reflinks, where each copy has its own metadata.
    Fix it by always set metadata when the file content is handled by a plugin.
    
        
file modified
+5 -1