Downloading resources only works if "tmp" and ".m2" are on the same disk
------------------------------------------------------------------------
Key: BUILDR-292
URL: https://issues.apache.org/jira/browse/BUILDR-292
Project: Buildr
Issue Type: Bug
Affects Versions: 1.3.4
Environment: Linux
Reporter: Klaas Prause
Priority: Minor
We had a strange bug on our CI-Server. The download of artifacts (i.e. ANT
jars) was not working, because of a "permission denied" issue. Only our admin
found out that buildr uses the "rename" command to move downloaded artifacts
from their download location to the repository. Rename only works if the
directories are on the same disk, it would probably help to use "mv" for the
implicit cp rm if the folders are on different disks.
This issue is always a problem if the tmp-dir is located on a different drive.
I cannot provide more information, because our admin fixed the issue by
changing the folder for the tmp dir. The command he used to identify the issue
was "strace -f -ox buildr build". The output file shows the failing rename
command.
Regards
Klaas
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.