googleads / googleads/google-api-ads-ruby

File permissions issue in google-dfp-api-1.11.0 and google-dfp-api-1.12.0 gems

Open
#175 6 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
303
Forks
221
PR merge metrics
No merged PRs in 30d

Description

Hello, we are having errors like LoadError: cannot load such file -- ad_manager_api on our servers due to restrictive file permissions in the two latest versions of the gem published on RubyGems.

For example ad_manager_api.rb file is not readable by Other:

$ ls -l /usr/local/bundle/gems/google-dfp-api-1.12.0/lib/
drwxr-sr-x 6 root staff 4096 Oct 27 10:33 ad_manager_api
-rw-r----- 1 root staff 3602 Oct 27 10:33 ad_manager_api.rb

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect how the google-dfp-api-1.11.0 and 1.12.0 gems package lib/ad_manager_api.rb and compare the file permissions shown in the issue. Confirm the relevant gem contents and determine whether the restrictive mode causes the reported LoadError; done means the packaged file is readable by the server user and the error no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.