Sarjuuk / aowow

Database viewer for TrinityCore based on aowow by @LordJZ, based on the JS-Engine of Wowhead
204 stars 217 forks source link

Fix spurious permissions #390

Closed Endalaust closed 8 months ago

Endalaust commented 8 months ago

Assume correct umask for the users. This allows us to skip handling permissions.

Sarjuuk commented 8 months ago

corrected umask in 983103872993a2aa0376002bec1ab7b091892322

though generated files must be accessible for the web server.

Endalaust commented 8 months ago

It won't do what you want as the umask is applied

https://www.php.net/manual/en/function.mkdir.php

permissions The permissions are 0777 by default, which means the widest possible access. For more information on permissions, read the details on the chmod() page.