On Mon, Sep 07, 2020 at 11:25:34PM +0200, Jan Kiszka wrote: > From: Jan Kiszka <jan.kiszka@xxxxxxxxxxx> > > If the target path contains a link with an absolute path (e.g. > /var/run -> /run), makedirs will target the wrong location. Resolve the > path first, then append DESTDIR again if needed. Can you elaborate on this? os.makedirs should follow the symlinks before actually creating the directory hierarchy, so I'm failing to see the problem this patch is trying to address. Erik