mirror of
https://github.com/KevinMidboe/immich.git
synced 2026-01-09 02:35:49 +00:00
fix(server): read file permission checks (#3046)
This commit is contained in:
@@ -42,7 +42,7 @@ export class MetadataService {
|
||||
}
|
||||
|
||||
const sidecarPath = `${asset.originalPath}.xmp`;
|
||||
const exists = await this.storageRepository.checkFileExists(sidecarPath, constants.W_OK);
|
||||
const exists = await this.storageRepository.checkFileExists(sidecarPath, constants.R_OK);
|
||||
if (!exists) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user