[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gems is trying to access /usr/bin



On 22/01/08 at 12:59 -0500, Tim Olsen wrote:
> I have libgems-ruby1.8 1.0.1-4 installed.  I setgid the /var/lib/gems
> directory with 775 permissions and owned by group gems.  This way I
> can install gems without being root (I only need to belong to the group
> gems).
> 
> This has the side effect of not being able to touch /usr/bin, which
> I've noticed ruby gems has been trying to do lately:
> 
> tolsen@neurofunk:/var/lib$ gem install builder testunitxml
> shared-mime-info rcov flexmock Bulk updating Gem source index for:
> http://gems.rubyforge.org Successfully installed builder-2.1.2
> Successfully installed testunitxml-0.1.5
> Successfully installed shared-mime-info-0.1
> ERROR:  While executing gem ... (Gem::FilePermissionError)
>     You don't have write permissions into the /usr/bin directory.
> tolsen@neurofunk:/var/lib$
> 
> That is with a fresh rubygems install (purged the packages,
> deleted /var/lib/gems, installed rubygems again, changed permissions
> as described above).
> 
> Any idea why rubygems is trying to touch /usr/bin ?  Has anyone else
> noticed this?

Hi Tim,

Please file a bug about that, it's better than reporting problems on
mailing lists.
-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |


Reply to: