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)
Sat, Nov 9, 04:03
Unknown Object (File)
Fri, Nov 8, 01:59
Unknown Object (File)
Fri, Nov 8, 00:56
Unknown Object (File)
Thu, Nov 7, 14:38
Unknown Object (File)
Thu, Oct 31, 22:10
Unknown Object (File)
Wed, Oct 30, 10:05
Unknown Object (File)
Wed, Oct 30, 09:48
Unknown Object (File)
Sat, Oct 19, 20:50
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