Opened 9 years ago

Closed 8 years ago

#45876 closed defect (fixed)

git: documentation files are not readable by normal user

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.3.99
Keywords: Cc:
Port: git

Description

$ port contents git | grep RelNotes | head -n 1
  /opt/local/share/doc/git-doc/RelNotes/1.5.0.1.txt
$ ls /opt/local/share/doc/git-doc/RelNotes/1.5.0.1.txt
ls: /opt/local/share/doc/git-doc/RelNotes/1.5.0.1.txt: Permission denied
$ sudo ls -l /opt/local/share/doc/git-doc/RelNotes/1.5.0.1.txt
-rw-r-----  1 root  wheel  1255 Sep 30 14:01 /opt/local/share/doc/git-doc/RelNotes/1.5.0.1.txt
$ 

Change History (3)

comment:1 Changed 9 years ago by Ionic (Mihai Moldovan)

I cannot reproduce this issue anymore.

On my system, the file is installed with 0644 permissions.

Can you please re-check if that's also the case on your system now?

comment:2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

The problem remains, but the reason for the problem has changed:

$ port -q installed git
  git @2.9.0_0+bash_completion+credential_osxkeychain+doc+pcre+perl5_22+python27+svn+universal (active)
$ port -q contents git | grep RelNotes | head -n 1
  /opt/local/share/doc/git-doc/RelNotes/1.5.0.1.txt
$ ls -l /opt/local/share/doc/git-doc/RelNotes/1.5.0.1.txt
ls: /opt/local/share/doc/git-doc/RelNotes/1.5.0.1.txt: Permission denied
$ sudo ls -l /opt/local/share/doc/git-doc/RelNotes/1.5.0.1.txt
Password:
-rw-r--r--  1 root  wheel  1255 Jun 13 14:08 /opt/local/share/doc/git-doc/RelNotes/1.5.0.1.txt
$ ls -ld /opt/local/share/doc/git-doc/RelNotes/
drwxr-xr--  285 root  wheel  9690 Jun 22 14:16 /opt/local/share/doc/git-doc/RelNotes/
$

Now, the files are installed with the correct permissions, but the permissions of the directory they're in are not correct.

Last edited 8 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 8 years ago by ci42

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.