Operation not permitted in SBT / Activate Activator inside Vagrant Synced Folder

I am running SBT through Activator Activator on a Ubuntu machine provided by Vagrant / Virtualbox. The host computer is Windows 8.

I am trying to compile the Play project https://github.com/markisus/ScalaPoker by entering the commands ./activator(or sudo ./activator), and then compileafter cloning the repo to the machine. The repo is located inside the synchronized folder . I think this is the root of the problem.

I get an error Operation not permittedin:

[info] Compiling 34 Scala sources to /home/vagrant/sp2/ScalaPoker/ScalaPokerEngine/target/scala-2.11/classes...
[error] Operation not permitted
[error] one error found
[error] (ScalaPokerEngine/compile:compile) Compilation failed
[error] Total time: 91 s, completed Jan 26, 2015 4:29:22 AM  

I'm not sure which operation is definitely not allowed. The project compiles on my host computer.

Start up lasti get

[debug] Running cached compiler e13c8f, interfacing (CompilerInterface) with Scala compiler version 2.11.1
[debug] Calling Scala compiler with arguments  (CompilerInterface):
[debug]         -bootclasspath
[debug]         /usr/lib/jvm/java-6-openjdk-i386/jre/lib/resources.jar:/usr/lib/jvm/java-6-openjdk-i386/jre/lib/rt.jar:/usr/lib/jvm/java-6-openjdk-i386/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-openjdk-i386/jre/lib/jsse.jar:/usr/lib/jvm/java-6-openjdk-i386/jre/lib/jce.jar:/usr/lib/jvm/java-6-openjdk-i386/jre/lib/charsets.jar:/usr/lib/jvm/java-6-openjdk-i386/jre/lib/jfr.jar:/usr/lib/jvm/java-6-openjdk-i386/jre/lib/netx.jar:/usr/lib/jvm/java-6-openjdk-i386/jre/lib/plugin.jar:/usr/lib/jvm/java-6-openjdk-i386/jre/lib/rhino.jar:/usr/lib/jvm/java-6-openjdk-i386/jre/classes:/root/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.11.1.jar
[debug]         -classpath
[debug]         /home/vagrant/sp2/ScalaPoker/ScalaPokerEngine/target/scala-2.11/classes
[error] Operation not permitted
[error] one error found
[debug] Compilation failed (CompilerInterface)
[error] (ScalaPokerEngine/compile:compile) Compilation failed

, , Scala? , Scala, .

(Vagrantfile ) https://github.com/markisus/ActivatorVagrant/tree/scalapoker

+4
2

, , , , .

-, .

, Windows . , , ( Linux).

Windows , , . ( , ) , .

, sysinternal ProcessMonitor . , . : start-with , .

strace, :

$ strace -f -ocompile.log ./activator compile

compile.log .

+5

target sbt vagrant:

$ sbt
sbt> set target:=file("/home/vagrant/orca-target/")
sbt> ;test;run
+1

All Articles