Fixed permission on access problem.
This commit is contained in:
parent
91621605b1
commit
79e9f2fb9a
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user