autopkg / MichalMMac-recipes

Recipes for https://github.com/autopkg/autopkg
Apache License 2.0
1 stars 5 forks source link

Need to set permission CHMOD #10

Closed blu3knight closed 5 years ago

blu3knight commented 6 years ago

For the recipes permissions are needed for the chmod. Currently the are installed as such: drwx------ 3 root admin 102 Sep 10 19:48 MacPass.app

Need to issue -m MODE, --mode=MODE Sets the mode of the copied item. The specified mode must be in symbolic form. See the manpage for chmod(1) for more information. The mode is applied recursively.

So that it is Executable by Group and Other. chmod go+x

Ref: https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fmunki%2Fmunki%2Fwiki%2FSupported-Pkginfo-Keys%23items_to_copy&sa=D&sntz=1&usg=AFQjCNEWKIeCagAhpdZPr0-bIv7UIgwKTQ

MichalMMac commented 6 years ago

Could you submit PR? I just got back from vacation. Will look into in few days.

MichalMMac commented 5 years ago

I've just tested this with 0.7.3:

michal@Galactica:~>>ls -l /Applications/MacPass.app/Contents/MacOS/                                                                                                                     12:26:17
total 1976
-rwxr-xr-x  1 root  admin  1010176 Nov 23  2017 MacPass

Could you provide steps to reproduce?

MichalMMac commented 5 years ago

Closing this due to the lack of activity from @blu3knight .