#StackBounty: #installing Installing Drupal module requires ftp access – macOS localhost

Bounty: 50

I have Drupal 8 running on localhost on macOS Catalina. When I try to install a module, I get prompted to enter ftp credentials (which I don’t know). See the following screenshot.

enter image description here

I’ve seen solutions that suggest this ftp prompt is caused by a permission issue in sites/default folder and can be fixed with chown www-data sites/default or chown apache sites/default for linux but those commands on a mac throw ‘chown: www-data: illegal user name’ or ‘chown: apache: illegal user name’ error. What do I need to do to enable installing modules/themes without being prompted for ftp?


I’m specifically asking about installing modules by the url method from the admin interface.

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.