Question

Again I can't upload files or create folders

Again I can’t create folders or upload files :( , I don’t know what it can be. I use Filezilla, SFTP protocol, and I already restarted the droplet. My user have permission for write files, but it happened suddenly the error.

Estado: Creando directorio ‘/var/www/html/works/banners/mcdonalds/39_hw_fb’… Comando: cd “/var/www/html/works/banners/mcdonalds” Respuesta: New directory is: “/var/www/html/works/banners/mcdonalds” Comando: mkdir “39_hw_fb” Error: mkdir /var/www/html/works/banners/mcdonalds/39_hw_fb: received failure with description ‘Failure’ Comando: mkdir “/var/www/html/works/banners/mcdonalds/39_hw_fb” Error: mkdir /var/www/html/works/banners/mcdonalds/39_hw_fb: received failure with description ‘Failure’


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi,

What is your droplet’s distro ? Your issue may be related to SELinux policies.

If you have SELinux enabled, check the settings related to your issue, running command:

getsebool -a | grep -e ssh -e sftp

The permissions is correct… “drwxrwxr-x leo leo” and the user used is leo :(

Hi @JimDark,

It does seem to me like either the folder banners or Mcdonalds has the wrong ownership or permissions.

Please check the folders and make sure they have your user’s ownership. You can check the ownership wish the command ls -lah and then change it to the desired user with chown.

Regards, KFSys