On jeu., 2015-12-03 at 13:26 +0100, Cyril Brulebois wrote: > > so BSD tar wouldn't get the fix for your usecase? I guess not. > > (Inspecting its code, ./tar/write.c is where symlink_mode is used, and > only when writing an archive.) > > > Looking at GNU tar I read: > | -h, --dereference > | follow symlinks; archive and dump the files they point to > > I wasn't exactly sure about “dump” but src/extract.c's check on > dereference_option seems to suggest that means tar -hxf would work; > out of curiosity, did you test the proposed change? Yes, on GNU tar 1.26 (latter version have a --keep-directory-symlink option option which is even less portable). Regards, -- Yves-Alexis
Attachment:
signature.asc
Description: This is a digitally signed message part