--- open-vm-tools-12.4.0-23259341/services/plugins/dndcp/dnd/dndLinux.c.old 2024-02-06 09:08:40.000000000 -0600 +++ open-vm-tools-12.4.0-23259341/services/plugins/dndcp/dnd/dndLinux.c 2024-05-22 14:45:57.307885844 -0500 @@ -53,9 +53,6 @@ #define DND_ROOTDIR_PERMS (S_IRWXU | S_IRWXG | S_IRWXO) #define DND_STAGINGDIR_PERMS (S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH) -#ifdef sun -#define ACCESSPERMS (S_IRWXU | S_IRWXG | S_IRWXO) -#endif #ifdef __ANDROID__ /* * Android doesn't support setmntent(), endmntent() or MOUNTED. @@ -64,6 +61,9 @@ #define NO_ENDMNTENT #define ACCESSPERMS (S_IRWXU | S_IRWXG | S_IRWXO) #endif +#ifndef ACCESSPERMS +#define ACCESSPERMS (S_IRWXU | S_IRWXG | S_IRWXO) +#endif /*