From abdd4d93a18ee9c03a90da740ff690c065a580d4 Mon Sep 17 00:00:00 2001 From: Alexander Bakanovskii Date: Wed, 24 Sep 2025 14:10:02 +0300 Subject: Add chown and chmod stubs Fixes: #110 --- src/ifuse.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/ifuse.c') diff --git a/src/ifuse.c b/src/ifuse.c index 02b74d1..b36a446 100644 --- a/src/ifuse.c +++ b/src/ifuse.c @@ -447,6 +447,16 @@ int ifuse_flush(const char *path, struct fuse_file_info *fi) return 0; } +int ifuse_chmod(const char *path, mode_t mode, struct fuse_file_info *fi) +{ + return 0; +} + +int ifuse_chown(const char *file, uid_t user, gid_t group, struct fuse_file_info *fi) +{ + return 0; +} + int ifuse_statfs(const char *path, struct statvfs *stats) { afc_client_t afc = fuse_get_context()->private_data; @@ -594,6 +604,8 @@ static struct fuse_operations ifuse_oper = { .rename = ifuse_rename, .utimens = ifuse_utimens, .fsync = ifuse_fsync, + .chmod = ifuse_chmod, + .chown = ifuse_chown, .release = ifuse_release, .init = ifuse_init, .destroy = ifuse_cleanup -- cgit v1.1-32-gdbae