[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unexpected permission denied



On Wed, Jan 25, 2023 at 2:54 AM jeremy ardley <jeremy@ardley.org> wrote:
>
> [...]
> Rechecked, thanks. The vendor directory didn't have x permissions.
> Fixed. Now to track down all the other files similarly afflicted in the
> screaming pile of manure called drupal.
>
> root@gram01:/# ls -ld var/www/grammartiste.com/web/vendor
> drw-rw-rw- 51 www-data www-data 4096 Jan 24 12:48
> var/www/grammartiste.com/web/vendor
> root@gram01:/# chmod 0555 var/www/grammartiste.com/web/vendor
> root@gram01:/# ls -ld var/www/grammartiste.com/web/vendor
> dr-xr-xr-x 51 www-data www-data 4096 Jan 24 12:48
> var/www/grammartiste.com/web/vendor
> root@gram01:/# ls -ld var/www/grammartiste.com/web/vendor/autoload.php
> -r-xr-xr-x 1 www-data www-data 771 Jan 24 13:00
> var/www/grammartiste.com/web/vendor/autoload.php

Mediawiki is the same. We have a script that resets all ownership and
permissions for our website.

Gottal love it when a tarball distributes files with scripts that lack
+x, or jpegs and pngs that have +x.

Jeff


Reply to: