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

How set read-only permission? #64

Open
99orazio opened this issue Jan 2, 2024 · 2 comments
Open

How set read-only permission? #64

99orazio opened this issue Jan 2, 2024 · 2 comments

Comments

@99orazio
Copy link

99orazio commented Jan 2, 2024

How can i set read-only permission to volume specified in docker file?
i don't understand how to set it in ENVIRONMENT line:
USERS=one|1234|/ftp/one| two|1234|/ftp/two

@Peanow
Copy link

Peanow commented Feb 29, 2024

You can manually add specific config file for each virtual user.
First, add a line in vsftpd.conf
user_config_dir=/etc/vsftpd/vuser.d

Then, for instance, a user named user1, add a file named user1 in/etc/vsftpd/vuser.d

Finally, edit file user1
insert "write_enable=YES"

@djbie
Copy link

djbie commented Nov 6, 2024

How can i set read-only permission to volume specified in docker file? i don't understand how to set it in ENVIRONMENT line: USERS=one|1234|/ftp/one| two|1234|/ftp/two

-v /dir/to/local:/dir/to/docker:ro

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

3 participants