From 9d8e3bf5e9ce471377523be62cc7b2ff796369e0 Mon Sep 17 00:00:00 2001 From: Christophe Gouiran Date: Sat, 11 Jan 2025 22:21:26 +0100 Subject: [PATCH] osfs: update defaultDirectoryMode to respect umask when creating directories --- osfs/os.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osfs/os.go b/osfs/os.go index a7fe79f..7141cf2 100644 --- a/osfs/os.go +++ b/osfs/os.go @@ -14,7 +14,7 @@ import ( ) const ( - defaultDirectoryMode = 0o755 + defaultDirectoryMode = 0o777 defaultCreateMode = 0o666 )