Comments (3)
Based on VSFTPD 553 error: could not create file on AskUbuntu I fixed it by changing the owner of the root directory (/srv/) to the FTP user
ftp`:
docker run …
docker exec mock_ftp_server chown ftp:ftp -R /srv/
curl …
Could you confirm that's not a security risk?
from docker-vsftpd.
Hi Edouard
You will need to make your own assessment we are unable to tell you if this is a security risk in your environment.
If you want to be able to write to a file or directory the ftp
user must have write permissions which you have done via chown ftp:ftp -R /srv/
in the container.
from docker-vsftpd.
@trnubo Thanks for your concern, this issue arise in the context of running my project's tests. So no security risk as this is not happening on production and never will.
from docker-vsftpd.
Related Issues (11)
- multiple users HOT 3
- Cant write on subdirectories HOT 1
- How to set the default permissions 777 for uploaded files. HOT 1
- time is missing HOT 1
- How configurate FTP_USER_* ? HOT 1
- Add id gid variable
- arm64 support
- FTP_USER_* not working because of unquoted Here String HOT 1
- Default serving directory permissions prevent writing. HOT 4
- Make virtual ftp user uid and gid configurable HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-vsftpd.