diff options
Diffstat (limited to 'main/open-vm-tools/posix-perms.patch')
-rw-r--r-- | main/open-vm-tools/posix-perms.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/main/open-vm-tools/posix-perms.patch b/main/open-vm-tools/posix-perms.patch deleted file mode 100644 index ddffb20cbb..0000000000 --- a/main/open-vm-tools/posix-perms.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- open-vm-tools-9.4.6-1770165.orig/lib/hgfsServer/hgfsServerLinux.c -+++ open-vm-tools-9.4.6-1770165/lib/hgfsServer/hgfsServerLinux.c -@@ -89,8 +89,10 @@ - * ALLPERMS (mode 07777) and ACCESSPERMS (mode 0777) are not defined in the - * Solaris version of <sys/stat.h>. - */ --#ifdef sun -+#ifndef ACCESSPERMS - # define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO) -+#endif -+#ifndef ALLPERMS - # define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO) - #endif - ---- open-vm-tools-9.4.6-1770165.orig/services/plugins/dndcp/dnd/dndLinux.c -+++ open-vm-tools-9.4.6-1770165/services/plugins/dndcp/dnd/dndLinux.c -@@ -51,7 +51,7 @@ - - #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 -+#ifndef ACCESSPERMS - #define ACCESSPERMS (S_IRWXU | S_IRWXG | S_IRWXO) - #endif - #ifdef __ANDROID__ -@@ -60,7 +60,6 @@ - */ - #define NO_SETMNTENT - #define NO_ENDMNTENT --#define ACCESSPERMS (S_IRWXU | S_IRWXG | S_IRWXO) - #endif - - |