teknoraver / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone

11a33b reflink: set metadata for hardlinked files

Authored and Committed by teknoraver 3 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