Opened 7 years ago

Closed 7 years ago

#53488 closed defect (fixed)

ruby23: dylib symlinks are unreadable by regular user

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: kimuraw (kimura wataru)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: ruby23, ruby24

Description

$ port -q installed ruby23
  ruby23 @2.3.3_0+universal (active)
$ port -q contents ruby23 | grep dylib$ | xargs ls -l 
-rwxr-xr-x  1 root  wheel  4261412 Dec 12 23:29 /opt/local/lib/libruby.2.3.0.dylib

ls: /opt/local/lib/libruby.2.3.dylib: Permission denied
lrwx------  1 root  wheel       19 Dec 12 23:31 /opt/local/lib/libruby.2.3.dylib

ls: /opt/local/lib/libruby2.3.dylib: Permission denied
lrwx------  1 root  wheel       19 Dec 12 23:31 /opt/local/lib/libruby2.3.dylib
$

Change History (2)

comment:1 Changed 7 years ago by kimuraw (kimura wataru)

Port: ruby24 added
Status: newaccepted

I confirmed this problem and port:ruby24 has same problem.

comment:2 Changed 7 years ago by kimuraw (kimura wataru)

Resolution: fixed
Status: acceptedclosed

I've reported this problem to ruby-core team, and fixed at upsteam.

https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/57543

I fixed port:ruby23 (2.3.3_1) and ruby24 (2.4.0_2) with patchfiles that includes the upstream change.

https://github.com/macports/macports-ports/commit/6394e9756cb683ac9d2c1f3ecdb864486e84f0b5

thanks for your report.

Note: See TracTickets for help on using tickets.