tag:help.rubygems.org,2010-01-19:/discussions/problems/196-gem-install-activerecord-jdbc-adapter-removes-execute-permission-on-the-current-directoryRubyGems.org: Discussion 2012-07-10T03:40:15Ztag:help.rubygems.org,2010-01-19:Comment/20176922010-06-24T23:49:48Z2010-06-24T23:49:48Zgem install activerecord-jdbc-adapter removes execute permission on the current directory<div><p>You might need to run that with <code>sudo</code>. Does that
help any?</p></div>Nick Quarantotag:help.rubygems.org,2010-01-19:Comment/20176922010-06-25T04:42:14Z2010-06-25T04:42:15Zgem install activerecord-jdbc-adapter removes execute permission on the current directory<div><p>Thank you, but no. the current user is the owner of the
jruby-directory and all subfolders. Even with a permission problem
gem shouldn't chmod the current directory.<br>
After gem install the current directory is unusable.</p>
<p>When I execute the following:</p>
<blockquote>
<p>pwd; ll -d /home/spaeth/test; jruby -S gem uninstall
activerecord-jdbc-adapter; jruby -S gem install
activerecord-jdbc-adapter; ll -d /home/spaeth/test</p>
</blockquote>
<p>I got:</p>
<p>/home/spaeth/test drwxrwxr-x 2 spaeth users 96 Jun 25 06:30
/home/spaeth/test<br>
Successfully uninstalled activerecord-jdbc-adapter-0.9.7-java<br>
Successfully installed activerecord-jdbc-adapter-0.9.7-java<br>
1 gem installed<br>
Installing ri documentation for
activerecord-jdbc-adapter-0.9.7-java...<br>
Installing RDoc documentation for
activerecord-jdbc-adapter-0.9.7-java...<br>
drw-rw-r-- 2 spaeth users 96 Jun 25 06:30 /home/spaeth/test</p>
<p>The Problem ist gem changes drwxrwxr-x to drw-rw-r--</p>
<p>Also other gem's (not all) produce this error.<br>
I can remind me, that I got by one gem some thing like<br>
execute? not supportet by this system using default<br>
implementation. Does this 2 issues belong together?</p></div>Dspaethtag:help.rubygems.org,2010-01-19:Comment/20176922010-06-25T04:45:33Z2010-06-25T04:45:33Zgem install activerecord-jdbc-adapter removes execute permission on the current directory<div><p>hank you, but no. the current user is the owner of the
jruby-directory and all subfolders. Even with a permission problem
gem shouldn't chmod the current directory.<br>
After gem install the current directory is unusable.</p>
<p>When I execute the following:</p>
<blockquote>
<p>pwd; ll -d /home/spaeth/test; jruby -S gem uninstall
activerecord-jdbc-adapter; jruby -S gem install
activerecord-jdbc-adapter; ll -d /home/spaeth/test</p>
</blockquote>
<p>I got:</p>
<p>/home/spaeth/test drwxrwxr-x 2 spaeth users 96 Jun 25 06:30
/home/spaeth/test Successfully uninstalled
activerecord-jdbc-adapter-0.9.7-java<br>
Successfully installed activerecord-jdbc-adapter-0.9.7-java<br>
1 gem installed<br>
Installing ri documentation for
activerecord-jdbc-adapter-0.9.7-java...<br>
Installing RDoc documentation for
activerecord-jdbc-adapter-0.9.7-java...<br>
drw-rw-r-- 2 spaeth users 96 Jun 25 06:30 /home/spaeth/test</p>
<p>The Problem ist gem changes drwxrwxr-x to drw-rw-r--</p>
<p>Also other gem's (not all) produce this error.<br>
I can remind me, that I got by one gem some thing like<br>
execute? not supportet by this system using default<br>
implementation. Does this 2 issues belong together?</p>
<p>Regards<br>
Dieter Spaeth</p></div>SHAD0WRUNNER