I have created a Jenkins build to compile and distribute some modules. The output of the build commands (e.g., make
or ant
) is redirected to a file named build.log
.
The funny thing is that redirecting echo
into the very same file, using tee
, fails:
tee: ../../build.log: Permission denied
The file exists and has 777 permissions (checked with ls -ltrh ../..
). Any ideas what's wrong with this write?