Project

General

Profile

Actions

Bug #13194

closed

LIBRUBY_ALIASESのアクセス権が所有者のみになっている

Added by kimuraw (Wataru Kimura) almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.5.0dev (2017-02-05 trunk 57539) [x86_64-darwin16]
[ruby-dev:49975]

Description

LIBRUBY_ALIASESとして作成されるシンボリックリンクの
アクセス権が所有者のみになっています。
たぶん意図された変更ではないと思うのですが、いかがでしょうか?

/Users/kimuraw/tmp/ruby-2.5-dev/lib:
total 8392
drwxr-xr-x  7 kimuraw  staff      238 Feb  5 20:34 ./
drwxr-xr-x  6 kimuraw  staff      204 Feb  5 20:34 ../
-rwxr-xr-x  1 kimuraw  staff  4285600 Feb  5 20:33 libruby.2.5.0.dylib*
lrwx------  1 kimuraw  staff       19 Feb  5 20:34 libruby.2.5.dylib@ -> libruby.2.5.0.dylib
lrwx------  1 kimuraw  staff       19 Feb  5 20:34 libruby.dylib@ -> libruby.2.5.0.dylib
drwxr-xr-x  3 kimuraw  staff      102 Feb  5 20:34 pkgconfig/
drwxr-xr-x  6 kimuraw  staff      204 Feb  5 20:34 ruby/

/Users/kimuraw/tmp/ruby-2.2/lib:
total 22496
drwxr-xr-x  8 kimuraw  staff      272 Feb  5 20:39 ./
drwxr-xr-x  6 kimuraw  staff      204 Feb  5 20:39 ../
-rw-r--r--  1 kimuraw  staff  7537080 Feb  5 20:37 libruby.2.2.0-static.a
-rwxr-xr-x  1 kimuraw  staff  3967540 Feb  5 20:38 libruby.2.2.0.dylib*
lrwxrwxrwx  1 kimuraw  staff       19 Feb  5 20:39 libruby.2.2.dylib@ -> libruby.2.2.0.dylib
lrwxrwxrwx  1 kimuraw  staff       19 Feb  5 20:39 libruby.dylib@ -> libruby.2.2.0.dylib
drwxr-xr-x  3 kimuraw  staff      102 Feb  5 20:39 pkgconfig/
drwxr-xr-x  6 kimuraw  staff      204 Feb  5 20:39 ruby/
  • trunk
  • 2.4
  • 2.3

で起きることをmacOS 10.12.3で確認しました。
2.2では起きないようです。

Actions #1

Updated by nobu (Nobuyoshi Nakada) almost 8 years ago

  • Status changed from Open to Closed

Applied in changeset r57543.


rbinstall.rb: default umask

  • tool/rbinstall.rb: revert r49841 and default umask to just
    prohibit all from writing. symlink(2) has no argument to set
    permissions but is affected by umask.
    [ruby-dev:49975] [Bug #13194]

Updated by nagachika (Tomoyuki Chikanaga) almost 8 years ago

  • Backport changed from 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN to 2.2: DONTNEED, 2.3: REQUIRED, 2.4: REQUIRED

Updated by naruse (Yui NARUSE) over 7 years ago

  • Backport changed from 2.2: DONTNEED, 2.3: REQUIRED, 2.4: REQUIRED to 2.2: DONTNEED, 2.3: REQUIRED, 2.4: DONE

ruby_2_4 r57903 merged revision(s) 57543.

Updated by nagachika (Tomoyuki Chikanaga) over 7 years ago

  • Backport changed from 2.2: DONTNEED, 2.3: REQUIRED, 2.4: DONE to 2.2: DONTNEED, 2.3: DONE, 2.4: DONE

ruby_2_3 r58152 merged revision(s) 57543.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0