git-svn-id: https://svn.osgeo.org/grass/grass/trunk@35484 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -138,6 +138,8 @@ int G__mapset_permissions2(const char *gisdbase, const char *location,
if (!S_ISDIR(info.st_mode))
return -1;
+#ifndef SKIP_MAPSET_OWN_CHK
+
#ifndef __MINGW32__
if (info.st_uid != getuid())
return 0;
@@ -145,5 +147,7 @@ int G__mapset_permissions2(const char *gisdbase, const char *location,
#endif
+#endif
return 1;
}