Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-5870

binary.provider.filesystem.dir doesn't seem to work properly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 3.0.2
    • Fix Version/s: 3.0.3
    • Component/s: Artifact Storage
    • Labels:
      None

      Description

      Hi,

      I am trying to set up the location of the binaries to a folder outside $ARTIFACTORY_HOME/.

      However, when I try to set binary.provider.filesystem.dir to a value like /opt/data/myDir, Artifactory creates a folder $ARTIFACTORY_HOME/data/opt/data/myDir.

      The reason is probably the following piece of code

      	class FileBinaryProviderImpl extends FileBinaryProviderBase implements FileBinaryProvider {
      	    public FileBinaryProviderImpl(File rootDataDir, StorageProperties storageProperties) {
              super(new File(rootDataDir, getFilestoreFolderName(storageProperties)));
          }
      

      Is this behaviour intentional? Or is there another way to use a data directory outside $ARTIFACTORY_HOME/data?

      Regards,

      Olaf

        Attachments

          Activity

            People

            Assignee:
            freds Fred Simon
            Reporter:
            oseng Olaf Seng
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: