Public bug reported:

installer.rb attempts to install bin files to a standard path with world
execute permissions:-

    File.open bin_script_path, 'wb', 0755 do |file|
      file.print app_script_text(filename)
    end

However this still obeys the users umask so if it's a restrictive umask
they won't have a world execute.

Specifically using the file chmod(755) method should set this after the
file has been written.

** Affects: rubygems (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1023836

Title:
  Bin files get installed with the sudo users umask

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rubygems/+bug/1023836/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to