Skip to content

HTTP File Upload ignores target folder #84

@AIIleG

Description

@AIIleG

Hi,

HTTP File Upload doesn't accept my target folder. It is the absolute path to the folder and I tried it with and without a trailing slash.
The folder is owned by the user Openfire runs as and has 700 permissions. I tested the folder with the Openfire account and created files, folders and deleted them. All working as expected.
However, I don't see HTTP File Upload even try it in the logs. It uses /tmp right away, creates a folder with a long random name in there and puts the uploads in there. What does work is deleting that folder in /tmp and creating a link to the folder I actually want it to use with the same name.
I checked plugin.httpfileupload.fileRepo and the value is correct.

  • This happened with Openfire 5.0.3 and 5.0.4
  • HTTP File Upload is 1.5.0
  • Java is 21.0.10+7-jre Temurin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions