From 69d88505fd7f4cb0d9e4f1918de296342fe05858 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Mon, 23 Aug 2021 15:05:15 +0200 Subject: go mod: declare module version v2 Our git version is v2+ for some time now, but go.mod still declared v1. Hopefully making both match makes https://pkg.go.dev/github.com/rfjakob/gocryptfs/v2 work. All the import paths have been fixed like this: find . -name \*.go | xargs sed -i s%github.com/rfjakob/gocryptfs/%github.com/rfjakob/gocryptfs/v2/% --- internal/nametransform/perms.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/nametransform/perms.go') diff --git a/internal/nametransform/perms.go b/internal/nametransform/perms.go index cfcd062..6b88afd 100644 --- a/internal/nametransform/perms.go +++ b/internal/nametransform/perms.go @@ -6,14 +6,14 @@ const ( // never chmod'ed or chown'ed. // // Group-readable so the FS can be mounted by several users in the same group - // (see https://github.com/rfjakob/gocryptfs/issues/387 ). + // (see https://github.com/rfjakob/gocryptfs/v2/issues/387 ). // // Note that gocryptfs.conf is still created with 0400 permissions so the // owner must explicitly chmod it to permit access. // // World-readable so an encrypted directory can be copied by the non-root // owner when gocryptfs is running as root - // ( https://github.com/rfjakob/gocryptfs/issues/539 ). + // ( https://github.com/rfjakob/gocryptfs/v2/issues/539 ). dirivPerms = 0444 // Permissions for gocryptfs.longname.[sha256].name files. -- cgit v1.2.3