Fixed permission on access problem.

This commit is contained in:
fedir 2025-06-24 13:18:27 +02:00
parent 91621605b1
commit 79e9f2fb9a
Signed by: fedir
GPG Key ID: C959EE85F0C9362C

View File

@ -112,7 +112,11 @@ static int xmp_access(const char *path, int mask) {
// if mask is F_OK, then we don't need to check the permissions
// (is that possible?)
//
// EDIT: now lie to the program by not telling it whether it can actually
// access the file.
/*
if (mask != F_OK) {
struct process_info proc_info;
struct fuse_context *context = fuse_get_context();
@ -129,6 +133,7 @@ static int xmp_access(const char *path, int mask) {
free((void *)proc_info.name);
}
*/
res = source_access(path, mask);