You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using local storage on a docker bind mount, the whole thing runs as www-data. I need to be able to ensure that permissions set on created file and folders is correct - umask would be the normal way but I notice that Flysystem has:
\League\Flysystem\UnixVisibility\PortableVisibilityConverter::fromArray([
'file' => [
'public' => 0666,
'private' => 0660,
],
'dir' => [
'public' => 2777,
'private' => 2770,
]
])
which seems exactly what I need. I imagine that is also the case in most people's multi-user shared systems. Looks like I need to build an image myself after forking the repo.
I would suggest that is added to the official image since it is so useful.
The text was updated successfully, but these errors were encountered:
When using local storage on a docker bind mount, the whole thing runs as www-data. I need to be able to ensure that permissions set on created file and folders is correct - umask would be the normal way but I notice that Flysystem has:
\League\Flysystem\UnixVisibility\PortableVisibilityConverter::fromArray([
'file' => [
'public' => 0666,
'private' => 0660,
],
'dir' => [
'public' => 2777,
'private' => 2770,
]
])
which seems exactly what I need. I imagine that is also the case in most people's multi-user shared systems. Looks like I need to build an image myself after forking the repo.
I would suggest that is added to the official image since it is so useful.
The text was updated successfully, but these errors were encountered: