Skip to content

Conversation

@mjauvin
Copy link
Member

@mjauvin mjauvin commented Jul 4, 2022

Fixes wintercms/winter#503

@LukeTowers @bennothommo @jaxwilko

Here's my preferred solution to this.

@LukeTowers
Copy link
Member

@driesvints if you have a moment do you recall or have a link to the reasoning behind changing the default from public to private for the local Flysystem driver in Laravel 9?

@driesvints
Copy link

@LukeTowers that got changed in Flysystem v3 so you'll have to ask them. Afaik it's a more safe and sensible default. You should always use the same user to handle files.

@LukeTowers
Copy link
Member

@driesvints I agree in theory that it's more safe default, the PHP user can access the files but the problem comes when the webserver user wants to fetch them to respond to requests, which is the default used by a few providers, ServerPilot & Cleavr for example.

Any recommendations for how to handle that use case?

@driesvints
Copy link

Not really sorry..

@LukeTowers
Copy link
Member

Thanks anyways :)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants