¿Tienes una pregunta?

Si usted tiene cualquier pregunta, escriba a continuación lo que está buscando!

Destination folder is not writable or does not exists.


En algún momento un cliente, no pudo subir más imágenes desde el admin de Magento en la gestión de productos, y le indicaba el siguiente error: Destination folder is not writable or does not exists.

1.- Dimos permiso a todo la carpeta media 777 y sus directorios internos por ftp, pero no resultaba.
2.- Tratamos por consola ssh con los siguientes comandos (dentro de media):
chmod 777 `find . -type f`
chmod 777 `find . -type d`
Pero no mas mandaba una enorme lista diciendo algo como esto:

chmod: changing permissions of `./catalog/product/cache/1/small_image/135x/9df78eab33525d08d6e5fb8d27136e95/c/h/champagne_pommery_pop_earth_chile.jpg’: Operation not permitted
chmod: changing permissions of `./catalog/product/cache/1/small_image/135x/9df78eab33525d08d6e5fb8d27136e95/c/h/chandon_miniatura_187_cc_chile.jpg’: Operation not permitted
chmod: changing permissions of `./catalog/product/cache/1/small_image/135x/9df78eab33525d08d6e5fb8d27136e95/c/h/chandon_brut_1500_chile_.jpg’: Operation not permitted
chmod: changing permissions of `./catalog/product/cache/1/small_image/135x/9df78eab33525d08d6e5fb8d27136e95/c/h/champagne-veuve-clicquot-brut-chile-precio-oferta.jpg’:

4.- Finalmente tomamos el acceso a root por consola ssh y le dimos los mismo comandos del punto 3 y ahí funcionó y el cliente ahora si puede subir las imágenes de sus productos:

chmod 777 `find . -type f`
chmod 777 `find . -type d`

El error, puede ser que por alguna actualización del servidor, y este haya cambiado los permisos sin ningún aviso… pero bueno! así se soluciona.

Commentarios

commentarios