#define EPERM 1 /* Operation not permitted */
static int
mxffs_create(const char *path, mode_t mode, struct fuse_file_info *fi)
{
int err = 0, fd;
char * newpath = mxffs_addpath(path);
if(newpath)
{
fd = open(newpath, fi->flags, mode);
err = fd==-1 ? -errno : 0;
fi->fh = fd;
free(newpath);
}
if(err) fprintf(stderr, "ERROR: %s:%d -> err: %d\n", __FUNCTION__, __LINE__, err);
return err;
ACCESS /Pakketje.zip 00
unique: 0, error: 0 (Undefined error: 0), outsize: 16
unique: 3, opcode: GETATTR (3), nodeid: 14, insize: 40
unique: 3, error: 0 (Undefined error: 0), outsize: 128
unique: 1, opcode: ACCESS (34), nodeid: 15, insize: 48
ACCESS /RNDTMP.jRoGBH 00
unique: 1, error: 0 (Undefined error: 0), outsize: 16
unique: 22, opcode: GETATTR (3), nodeid: 15, insize: 40
unique: 22, error: 0 (Undefined error: 0), outsize: 128
unique: 21, opcode: LOOKUP (1), nodeid: 1, insize: 48
LOOKUP /Scratch
unique: 21, error: -1 (Operation not permitted), outsize: 16
unique: 4, opcode: ACCESS (34), nodeid: 32, insize: 48
ACCESS /The Unarchiver.app 00
unique: 4, error: 0 (Undefined error: 0), outsize: 16
unique: 2, opcode: GETATTR (3), nodeid: 32, insize: 40
unique: 2, error: 0 (Undefined error: 0), outsize: 128
unique: 6, opcode: ACCESS (34), nodeid: 34, insize: 48
ACCESS /Wondershare.plist 00
unique: 6, error: 0 (Undefined error: 0), outsize: 16
unique: 8, opcode: GETATTR (3), nodeid: 34, insize: 40
unique: 8, error: 0 (Undefined error: 0), outsize: 128
unique: 7, opcode: LOOKUP (1), nodeid: 1, insize: 46
LOOKUP /first
unique: 7, error: -1 (Operation not permitted), outsize: 16
unique: 11, opcode: ACCESS (34), nodeid: 6, insize: 48
?--------- 0 root wheel 0 Jan 1 1970 Scratch
drwxr-xr-x 3 arri staff 102 Apr 15 2011 The Unarchiver.app
-rw-rw-rw- 1 arri staff 331 Jul 15 2013 Wondershare.plist
?--------- 0 root wheel 0 Jan 1 1970 first
-rw-r--r-- 1 arri staff 13892629 Jun 4 2014 mpv.app.zip
-rw-r--r-- 1 arri staff 2217577 Feb 20 16:57 osxfuse-2.7.1.3.zip
-rw-r--r-- 1 arri staff 5452 Aug 17 17:25 root-root.txt
-rw-r--r--@ 1 arri staff 32924 Aug 12 12:42 screencapture.txt
?--------- 0 root wheel 0 Jan 1 1970 second
-rw-r--r-- 1 arri staff 97 Aug 12 06:55 serial_number.txt
#ifndef _DARWIN_FEATURE_64_BIT_INODE
#define _DARWIN_FEATURE_64_BIT_INODE 1
#endif