From: Dan S. <dan...@gm...> - 2008-01-17 20:13:16
|
I would like to thank everyone who has replied, it ended up being the open function. All I can say is don't code at 2AM and expect there to be no problems! On Jan 14, 2008 3:16 AM, Miklos Szeredi <mi...@sz...> wrote: > > So far working with FUSE seems to be working fine, however I have only > > done read only support so far. In an attempt to get write support to > > work I have implemented the callbacks for write(),truncate(),and > > access(). The permissions are set so that the owner can write and > > access returns 0 to every call currently. However write() and > > truncate() never get called. When I run the command `echo "foo" > > > bar.txt' mknod is called and creates the file but nothing is written > > erroring with "Operation not permitted" even though none of the > > functions in question return -EPERM. > > Did you try the '-d' option, to see what call is returning EPERM? > > Miklos > |