Files
nix-files/hosts/common/programs/exiftool.nix
Colin cb9aba095d exiftool: fix sandboxing
and with that, also fixes Megapixels open-image button :)
2024-12-03 03:52:29 +00:00

10 lines
352 B
Nix

{ ... }:
{
sane.programs.exiftool = {
# exiftool modifies files by writing out a new file adjacent to it and then `mv`ing it over the original file.
# this requires it to have write access to the *parent* of whatever file it's operating on.
sandbox.autodetectCliPaths = "parent";
# sandbox.autodetectCliPaths = "existingFile";
};
}