I have a permissions error when i try to update or remove a Repo or Recipe:

578 views
Skip to first unread message

jrsc...@hotmail.com

unread,
Aug 25, 2015, 7:59:05 PM8/25/15
to autopkg-discuss
I have just installed munki-in-the-box.. there is an issue with Autopkgr and I have an error when i try to update or remove a Repo or Recipe:

im running OS X 10.10.4 (Build 14E46) and Server 4.1.3 (Build 14S1127)

I if i click on a couple of options, I get these messages:

ERROR: error: cannot open .git/FETCH_HEAD: Permission denied

ERROR: fatal: could not create work tree dir '/Users/justin/Library/AutoPkg/RecipeRepos/com.github.autopkg.keeleysam-recipes'.: Permission denied

ERROR: Could not remove /Users/justin/Library/AutoPkg/RecipeRepos/com.github.autopkg.jleggat-recipes: [Errno 13] Permission denied: '/Users/justin/Library/AutoPkg/RecipeRepos/com.github.autopkg.jleggat-recipes/.git/branches'

it has installed AutoPkg 0.5.0, Git 2.3.2 and Munki tools 2.3.0.2524 all lights are green

github is setup correctly and working.

thanks in advance, Justin

Gregory Neagle

unread,
Aug 25, 2015, 8:00:36 PM8/25/15
to autopkg...@googlegroups.com
On Aug 25, 2015, at 4:58 PM, jrsc...@hotmail.com wrote:

I have just installed munki-in-the-box..

Which has the unfortunate side-effect of running autopkg as _root_.

Fix the ownership of ~/LibraryAutoPkg and all sub-directories:

sudo chown -R <yourusername> ~/LibraryAutoPkg

--
You received this message because you are subscribed to the Google Groups "autopkg-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to autopkg-discu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

jrsc...@hotmail.com

unread,
Aug 25, 2015, 8:38:22 PM8/25/15
to autopkg-discuss
thanks really lots and for quick reply, i been stuck on this for a day+, its now sorted..

I am experimenting from home on my old iMac, hence running as root.. have a great day..


Reply all
Reply to author
Forward
0 new messages