From ac8a980e7a609fb1e452a3b332df10f4a30fe2af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Pierre=20Andr=C3=A9?= Date: Mon, 23 Jan 2012 17:39:47 +0100 Subject: [PATCH] Preferred access control by file system on OpenIndiana ntfs-3g cannot reliably use the access control made by the kernel on OpenIndiana, so do it at the file system level until this is solved. --- include/ntfs-3g/param.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/ntfs-3g/param.h b/include/ntfs-3g/param.h index 5d96b1c2..14401a73 100644 --- a/include/ntfs-3g/param.h +++ b/include/ntfs-3g/param.h @@ -109,7 +109,11 @@ enum { * of 6 is added in the mount report. */ +#if defined(__sun) && defined(__SVR4) +#define HPERMSCONFIG 4 /* access control by kernel is broken on OpenIndiana */ +#else #define HPERMSCONFIG 1 +#endif #if defined(FUSE_INTERNAL) || !defined(FUSE_VERSION) || (FUSE_VERSION < 28) #define LPERMSCONFIG 5 #else