Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

atomic_write should close permissions_check file before delete

#1035

When I try use :file_store, I'm get lots of .permissions_check.53479890.6336.946036 files in app root directory, created necessary folders in /tmp/cache but not cache files in rights place.

I'm found that check_file is not closed, so can't be removed, we get exception here, and temp file is not moved to right place.

I'm check that on windows.

Reported by sergey.kojin · September 12th, 2008 @ 08:57 PM

State: committed
Milestone: none
Assigned to: Michael Koziarski Michael Koziarski
Importance: Low

Activity

  1. josh
    josh
    • State changed from new to open
    • Assigned user changed from josh to Michael Koziarski
    • Milestone cleared.

    September 13th, 2008 @ 11:20 PM

  2. Repository
    Repository
    • State changed from open to committed

    (from [d28c724b4074605445d2834888ad280778f0af6a]) Make sure the permissions check file is closed before being unlinked.

    [#1035 atomic_write should close permissions_check file before delete state:committed] http://github.com/rails/rails/co...

    September 14th, 2008 @ 08:46 AM

  3. Michael Koziarski
    Michael Koziarski

    I believe that should do the job too?

    September 14th, 2008 @ 08:52 AM

  4. sergey.kojin