tup icon indicating copy to clipboard operation
tup copied to clipboard

`preload` symlink doesn't seem to work even with TUP_SUDO_SUID activated

Open chenglou opened this issue 9 years ago • 2 comments

(Follow-up of #278) with updater.full_deps = true, preload still gives the following error:

unable to find node 'src' for preloading in directory 53

When I try preload foo/bla/src where bla is symlinked.

chenglou avatar Apr 29 '16 00:04 chenglou

Hmm, I can reproduce this - that's annoying. Unfortunately tup no longer tracks symlink information in the database, so I don't see a quick fix here. What type of run-script are you using? In the future I'd like to only support Lua and Python scripts, and remove the 'preload' and 'run' keywords.

gittup avatar Jun 01 '16 20:06 gittup

I'm assuming foo/bar exists and reading into it. foo/bar might be symlinked, either relatively or absolutely, from somewhere outside.

chenglou avatar Jun 28 '16 07:06 chenglou