--- a/src/server/daemon/vfs.c Sun May 26 12:12:07 2013 +0200 +++ b/src/server/daemon/vfs.c Sun May 26 22:05:41 2013 +0200 @@ -411,10 +411,10 @@ } int sys_acl_check(VFSContext *ctx, uint32_t access_mask, SysACL *sysacl) { + if(sysacl) { + sysacl->acl = NULL; + } if(!ctx) { - if(sysacl) { - sysacl->acl = NULL; - } return 0; }