Thanks to visit codestin.com
Credit goes to github.com

Skip to content

O_TMPFILE doens't work on each FS #1151

Closed
@wonko

Description

@wonko

The changes introduced in jcupitt@06802e4 assumes that the filesystem mounted on /tmp has the capability to handle the O_TMPFILE flag. This is not always the case, making vips fail when trying to create these temporary files.

Our use case was running vips in a docker container (docker for mac, nfs + overlayfs) but there might be others. I "fixed" this by removing the content from this commit from the code in my build (& applying a bit of C knowledge).

There should be a way to disable this behaviour, either at compile time or by adding a flag to the binary when running it. The later might be the more flexible option, the former the easier (but a bit brutal).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions