I'm actually using an object storage from scaleway. I want to be able to access it with ftp and be able to do some action. Right now I can access and view files/folders from it, but I can't do action, like rename a file, create a dir... I'm using CentOS 7 as operating system. Here is my mounted volume in my host:

drwxrwxr-x. 1 root root 0 Jan 1 1970 mnt

I'm using the following command to create a container :

docker run -d --name ftpd_server -p 21:21 -p 30000-30009:30000-30009 -e "PUBLICHOST=" -v /mnt:/home/ftpusers/root stilliard/pure-ftpd:hardened

Then I enter in the container with :

docker exec -it ftpd_server /bin/bash

And I create a user

pure-pw useradd root -f /etc/pure-ftpd/passwd/pureftpd.passwd -m -u ftpuser -d /home/ftpusers/root

(Do I have to put root as ftp user ?)

Then I get this when I try to create a dir

enter image description here

And I can see my contents

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.