[kwlug-disc] OT [slightly] : css images not showing - permissions?

Khalid Baheyeldin kb at 2bits.com
Fri Jan 25 23:16:36 EST 2019


On Fri, Jan 25, 2019 at 11:12 PM Charles M <chaslinux at gmail.com> wrote:

> So I set up an instance of Drupal 8 on a server and added a theme but
> it appears none of the CSS images are showing. I tried the following:
>
> chmod -R o+w css/
>

Better use:

cd sites/default/files
find . -type d -exec chmod 700 {} \;
find . -type f -exec chmod 600 {} \;
chown -R www-data.www-data .

That way, all the ownerships and permissions are correct.

Then clear the caches.
-- 
Khalid M. Baheyeldin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20190125/578f3625/attachment.htm>


More information about the kwlug-disc mailing list