Hi,
Since moving my munki_repo to an external Linux VM, any changes made to manifests using MunkiAdmin cause the permissions on the files to become inappropriate. The permissions are usually changed to 0700, which is no good because the user associated with the munki_repo is not 'apache', and so any http requests to read the manifest (e.g. by a client, or by MunkiWebAdmin), fail.
In my case it seems to be the case that the permissions need to be set 775. This allows Munki clients and MunkiReport-PHP to read the manifests, and the MunkiWebAdmin wsgi account, manifestutil CLI, and MunkiAdmin (both via mounted SMB share) to write to them. Setting the permissions on the repo to 2775 worked for preventing MunkiWebAdmin from changing them, but this doesn't work from MunkiAdmin, which is manipulating the repo via a mounted SMB share.
So, my question - would it be possible to change the code in MunkiAdmin so that it doesn't affect the ownership / permissions of any manifest it changes? (and also ideally set new manifests according to the existing permissions of the underlying 'manifests' folder).
Additionally, if it were possible to connect directly from the MunkiAdmin GUI to an smb/afp/WebDAV share, that would be very excellent!
Thanks,
Graham