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
Unknown Object (File)
Tue, Jul 22, 11:06
Unknown Object (File)
Sun, Jul 20, 10:09
Unknown Object (File)
Fri, Jul 18, 08:30
Unknown Object (File)
Sun, Jul 13, 13:18
Unknown Object (File)
Thu, Jul 10, 19:36
Unknown Object (File)
Thu, Jul 10, 18:21
Unknown Object (File)
Jun 21 2025, 06:34
Unknown Object (File)
Jun 18 2025, 16:11
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