Again I can't upload files or create folders

Posted September 23, 2020 590 views

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/39hwfb’…
Comando: cd “/var/www/html/works/banners/mcdonalds”
Respuesta: New directory is: “/var/www/html/works/banners/mcdonalds”
Comando: mkdir “39hwfb”
Error: mkdir /var/www/html/works/banners/mcdonalds/39hwfb: received failure with description ‘Failure’
Comando: mkdir “/var/www/html/works/banners/mcdonalds/39hwfb”
Error: mkdir /var/www/html/works/banners/mcdonalds/39hwfb: received failure with description 'Failure’

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.

Submit an Answer
3 answers

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.


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


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