This project is archived and is in readonly mode.

#823 ✓resolved
S. Brent Faulkner

test_atomic_write_preserves_default_file_permissions(AtomicWriteTest) fails when umask is not 0022

Reported by S. Brent Faulkner | August 13th, 2008 @ 11:13 PM | in 2.x

When running tests with a umask other than 0022 the test_atomic_write_preserves_default_file_permissions(AtomicWriteTest) test will fail with:

1) Failure: test_atomic_write_preserves_default_file_permissions(AtomicWriteTest)

[./test/core_ext/file_test.rb:53:in `test_atomic_write_preserves_default_file_permissions'
 ./test/../lib/active_support/testing/setup_and_teardown.rb:94:in `__send__'
 ./test/../lib/active_support/testing/setup_and_teardown.rb:94:in `run']:

<"100644"> expected but was <"100664">.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket