We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
directory_visibility
visibility
The current implementation seems counter intuitive to me, e.g. consider the src/Local/LocalFilesystemAdapterTest.php
src/Local/LocalFilesystemAdapterTest.php
$adapter->createDirectory('public_dir_private_files', new Config(['visibility' => 'private', 'directory_visibility' => 'public'])); $this->assertDirectoryExists(static::ROOT . '/public_dir_private_files'); $this->assertFileHasPermissions(static::ROOT . '/public_dir_private_files', 0700);
The assertion of 0700 permissions for the directory seems odd/incorrect, should this not be 0755 given we pass directory_visibility=public
directory_visibility=public
I've added two commits to this branch tests_confirming_directory_visibility_behaviour
tests_confirming_directory_visibility_behaviour
$adapter->createDirectory
See diff 3.x...theodson:flysystem:tests_confirming_directory_visibility_behaviour
The text was updated successfully, but these errors were encountered:
is it correct to assume directory_visibility has precedence over visi…
4524149
…bility when creating a directory
No branches or pull requests
is it correct to assume
directory_visibility
have precedence overvisibility
when creating a directoryThe current implementation seems counter intuitive to me, e.g. consider the
src/Local/LocalFilesystemAdapterTest.php
The assertion of 0700 permissions for the directory seems odd/incorrect, should this not be 0755 given we pass
directory_visibility=public
I've added two commits to this branch
tests_confirming_directory_visibility_behaviour
directory_visibility
overvisibility
in the context of$adapter->createDirectory
See diff 3.x...theodson:flysystem:tests_confirming_directory_visibility_behaviour
Ref
The text was updated successfully, but these errors were encountered: