zyuan920414 / git-osx-installer

Automatically exported from code.google.com/p/git-osx-installer
0 stars 0 forks source link

/etc/manpaths.d/git is not world readable #69

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. Install git from latest package (1.7.6)
2. Run /usr/libexec/path_helper -s
3. Get alert 'git: Permission denied'

sudo chmod a+r /etc/manpaths.d/git

fixes the issue, the file was initially only owner (root) readable.

Original issue reported on code.google.com by olefl...@work4labs.com on 17 Aug 2011 at 5:35

GoogleCodeExporter commented 8 years ago
Arg... it's so frustrating how buggy the Mac OS X Package generator is!

See the following specification for those two files:

{{{
<pkg-contents spec="1.12">
  <f n="etc" o="root" g="staff" p="16877"
  pt="/Users/timcharper/projects/GitOSXInstaller/etc" m="false"
  t="file">
    <f n="manpaths.d" o="root" g="staff" p="16877">
      <f n="git" o="root" g="staff" p="33188">
        <mod>owner</mod>
      </f>
      <mod>owner</mod>
    </f>
    <f n="paths.d" o="root" g="staff" p="16877">
      <f n="git" o="root" g="staff" p="33188">
        <mod>owner</mod>
      </f>
      <mod>owner</mod>
    </f>
    <mod>owner</mod>
  </f>
</pkg-contents>
}}}

Notice a difference in mode between /etc/paths.d/git and etc/manpaths.d/git ? 
Neither do I. But somehow the one is being specified as root only readable.

:( I'll see what I can do.

Original comment by timchar...@gmail.com on 4 Sep 2011 at 4:23

GoogleCodeExporter commented 8 years ago

Original comment by timchar...@gmail.com on 4 Sep 2011 at 4:23

GoogleCodeExporter commented 8 years ago
Resolved in 1.7.6.1 release

Original comment by timchar...@gmail.com on 4 Sep 2011 at 4:36