Page MenuHomeDevCentral

Allow to restore chmod on shared deployment Git directories
ClosedPublic

Authored by dereckson on Apr 4 2023, 01:06.
Tags
None
Referenced Files
F6980818: D2973.id.diff
Fri, Apr 18, 14:15
F6967689: D2973.id7599.diff
Fri, Apr 18, 08:52
F6943741: D2973.diff
Thu, Apr 17, 20:49
Unknown Object (File)
Thu, Apr 17, 09:41
Unknown Object (File)
Mon, Apr 14, 15:28
Unknown Object (File)
Mon, Apr 14, 11:40
Unknown Object (File)
Mon, Apr 14, 07:43
Unknown Object (File)
Mon, Apr 14, 05:03
Subscribers
None

Details

Summary

Git repositories are normally configured in group-writable,
to be shared by members of the 'ops' groups.

As some Git commands can create a file not-group-writable,
this script allows to ensure permissions. It doesn't touch
to user or world permissions.

Known issue is a file intended to be in read only would get
a strange 464 permission, but no occurence in Git repositories
are known.

Test Plan

Tested on Complector

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable