File.writable? does not consider extended ACL #2943

quark-zju opened this Issue Feb 15, 2014 · 0 comments

1 participant


Steps to reproduce:

setfacl -R -m u:`whoami`:rwX /opt/rubies/rbx-2.2.5/gems
File.writable?('/opt/rubies/rbx-2.2.5/gems') # => false, while MRI returns true.


  • rubinius 2.2.5 (2.1.0 e543ba3 2014-02-08 JI) [x86_64-linux-gnu]
  • Debian 7.4 amd64

I use setfactl to grant users in rubygems group write ability to rubygems directories. This issue makes bundler believe I do not have writable access and ask sudo password every time.

If people are busy with other issues, I can try to look into this when I am free (probably several weeks later).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment