You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnfmt.Errorf("installed git version %s has a known compatibility issue with Gitea: %w, please downgrade (or upgrade) your git", gitVersion.String(), err)
// Due to CVE-2022-24765, git now denies access to git directories which are not owned by current user
266
-
// however, some docker users and samba users find it difficult to configure their systems so that Gitea's git repositories are owned by the Gitea user. (Possibly Windows Service users - but ownership in this case should really be set correctly on the filesystem.)
267
-
// see issue: https://github.com/go-gitea/gitea/issues/19455
268
-
// Fundamentally the problem lies with the uid-gid-mapping mechanism for filesystems in docker on windows (and to a lesser extent samba).
269
-
// Docker's configuration mechanism for local filesystems provides no way of setting this mapping and although there is a mechanism for setting this uid through using cifs mounting it is complicated and essentially undocumented
270
-
// Thus the owner uid/gid for files on these filesystems will be marked as root.
268
+
// Due to CVE-2022-24765, git now denies access to git directories which are not owned by current user.
269
+
// However, some docker users and samba users find it difficult to configure their systems correctly,
270
+
// so that Gitea's git repositories are owned by the Gitea user.
271
+
// (Possibly Windows Service users - but ownership in this case should really be set correctly on the filesystem.)
272
+
// See issue: https://github.com/go-gitea/gitea/issues/19455
271
273
// As Gitea now always use its internal git config file, and access to the git repositories is managed through Gitea,
272
274
// it is now safe to set "safe.directory=*" for internal usage only.
273
-
// Please note: the wildcard "*" is only supported by Git 2.30.4/2.31.3/2.32.2/2.33.3/2.34.3/2.35.3/2.36 and later
274
-
// Although only supported by Git 2.30.4/2.31.3/2.32.2/2.33.3/2.34.3/2.35.3/2.36 and later - this setting is tolerated by earlier versions
275
+
// Although this setting is only supported by some new git versions, it is also tolerated by earlier versions
0 commit comments