Od find
strony man :
-exec command ; There are unavoidable security problems surrounding use of the -exec action; you should use the -execdir option instead. -execdir command {} + Like -exec, but the specified command is run from the subdirectory containing the matched file, which is not normally the directory in which you started find. This a much more secure method for invoking commands, as it avoids race conditions during resolution of the paths to the matched files.
Co to znaczy? Dlaczego istnieją warunki wyścigu z uruchomieniem go z katalogu startowego? A jakie są te zagrożenia bezpieczeństwa?