Skip to content
New issue

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

Flysystem SFTP file/directory permissions support #506

Open
bckr75 opened this issue Jun 2, 2023 · 0 comments
Open

Flysystem SFTP file/directory permissions support #506

bckr75 opened this issue Jun 2, 2023 · 0 comments

Comments

@bckr75
Copy link

bckr75 commented Jun 2, 2023

Official flysystem documentation states that we should be able to set dir/file permissions, although it is not possible to use this feature in current version of FM Elfinder

I think that we should be able to state this config values in fm_elfinder.yaml.

host: '%env(resolve:ASSETS_HOST)%'
port: 22
username: user
privateKey: '/...'
root: '%env(ASSETS_ROOT)%'
directoryPerm: 0744
permPublic: 0700
permPrivate: 0744

But if I try that I get

Unrecognized options "directoryPerm, permPublic, permPrivate" under "fm_elfinder.instances.default.connector.roots.uploads.flysystem.options.sftp". Available options are "enabled", "host", "password", "port", "privateKey", "root", "timeout", "username".
@bckr75 bckr75 changed the title Flysystem file/directory permissions support Flysystem SFTP file/directory permissions support Jun 2, 2023
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

No branches or pull requests

1 participant