src/server/daemon/acl.c

changeset 453
4586d534f9b5
parent 415
d938228c382e
child 467
4d038bc6f86e
--- a/src/server/daemon/acl.c	Sun Dec 04 13:01:00 2022 +0100
+++ b/src/server/daemon/acl.c	Thu Feb 23 21:09:33 2023 +0100
@@ -573,7 +573,7 @@
  */
 #ifdef OSX
 
-int fs_acl_check(SysACL *acl, User *user, char *path, uint32_t access_mask) {
+int fs_acl_check(SysACL *acl, User *user, const char *path, uint32_t access_mask) {
     return 1;
 }
 
@@ -587,7 +587,7 @@
 
 #endif
 
-#ifdef BSD
+#if defined(BSD) && !defined(OSX)
 
 int fs_acl_check(SysACL *acl, User *user, const char *path, uint32_t access_mask) {
     return 1;

mercurial