Options

access denied error when writing to repository

leonardoleonardo Member Posts: 3 Contributor I
Hi,

when trying to write an exampleset to a repository, the following error occurs:

  • Exception: java.security.AccessControlException
  • Message: access denied ("java.io.FilePermission" "C:\Users\wolfr\Documents\RapidMiner\Repositories\Test\Test.rmhdf5table" "write")
  • Stack trace:
  • java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
  • java.security.AccessController.checkPermission(AccessController.java:886)
  • java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
  • com.rapidminer.security.PluginSecurityManager.checkPermission(PluginSecurityManager.java:42)
  • java.lang.SecurityManager.checkWrite(SecurityManager.java:979)
  • java.io.FileOutputStream.(FileOutputStream.java:200)
  • org.apache.commons.io.FileUtils.openOutputStream(FileUtils.java:365)
  • org.apache.commons.io.FileUtils.openOutputStream(FileUtils.java:324)
  • org.apache.commons.io.FileUtils.touch(FileUtils.java:440)
  • com.rapidminer.versioning.repository.FileSystemRepository.createFile(FileSystemRepository.java:282)
  • com.rapidminer.versioning.repository.FileSystemRepository.createFile(FileSystemRepository.java:61)
  • com.rapidminer.versioning.repository.RepositoryFolder.createFile(RepositoryFolder.java:167)
  • com.rapidminer.repository.versioned.BasicFolder.createIOObjectEntry(BasicFolder.java:208)
  • com.rapidminer.repository.versioned.FilesystemRepositoryAdapter.createIOObjectEntry(FilesystemRepositoryAdapter.java:251)
  • com.rapidminer.repository.RepositoryManager.store(RepositoryManager.java:651)
  • com.rapidminer.repository.RepositoryManager.store(RepositoryManager.java:626)
  • com.rapidminer.Process.saveResults(Process.java:1181)
  • com.rapidminer.Process.executeRoot(Process.java:1467)
  • com.rapidminer.Process.lambda$executeRootInPool$5(Process.java:1443)
  • com.rapidminer.studio.concurrency.internal.AbstractConcurrencyContext$AdaptedCallable.exec(AbstractConcurrencyContext.java:362)
  • java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
  • java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
  • java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
  • java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
I am using RM Studio 9.8

Thanks
Wolfram

Answers

  • Options
    MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,517 RM Data Scientist
    Hi,
    this looks like you don't have access to the folder you write to. Can you check this?
    Best,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • Options
    leonardoleonardo Member Posts: 3 Contributor I
    Hi,
    many thanks for your prompt reply. If I use the "Store" operater it works fine - thus, I think access in generell should not be the problem. It only does not work if I assign the  name of the entry to the result node. Sorry for not making this more clear.
    Many thanks and best
    Wolfram
  • Options
    MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,517 RM Data Scientist
    now I am a bit confused. What other operator would you use if not Store?

    Best,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • Options
    leonardoleonardo Member Posts: 3 Contributor I
    Hi Martin,

    I normally specify the repository entry, results should be stored in, in the context menu as process out.



    Thanks,
    Wolfram

Sign In or Register to comment.