Fork me on GitHub
Subscribe 2

Ticket #509 (fixed bug)

is_writable() ignores ACLs on Windows NTFS Server

  • Created: 2011-10-12 12:09:59
  • Reported by: Franz
  • Assigned to: Franz
  • Milestone: 1.4.8
  • Component: installation
  • Priority: normal

As a result, the installer wrongly thinks that the cache directory is writable.

Reference: http://fluxbb.org/forums/viewtopic.php?id=5799

History

Franz 2011-11-29 11:25:09

Commit 1f50478 to fluxbb fluxbb-1.4

#509: Provide a Windows-ACL-safe implementation of is_writable().

Franz 2011-11-29 11:25:49

  • Owner set to Franz.

Franz 2011-12-01 22:20:10

Does anybody have a Windows server setup to test this implementation?

daris 2011-12-09 20:21:45

Your implementation of the forum_is_writable makes FluxBB not usable on SQLite!

It DELETES every time sqlite database file smile

Franz 2011-12-09 22:25:50

It does? Uh, yuck. Sorry about that. Will fix that on Sunday hopefully.

daris 2011-12-10 08:27:41

Commit 35f4e24 to fluxbb fluxbb-1.4

#509 forum_is_writable() should definitely not delete file that we're checking

daris 2011-12-10 08:28:33

I did it for you smile

Franz 2011-12-12 22:31:01

Well, I will just suppose this works, if nobody has any objections (also, the code looks good to me now). smile

Franz 2011-12-13 08:56:16

  • Status changed from open to fixed.

Rabobi confirmed the solution works. Off we go! smile