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’
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!
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
The permissions is correct… “drwxrwxr-x leo leo” and the user used is leo :(
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.