1 Commits

Author SHA1 Message Date
79e9f2fb9a Fixed permission on access problem. 2025-06-24 13:18:27 +02:00

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);