Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Kimson11's avatar

Laravel permission issues.

I am new to laravel, working on my local server, i have my enviroment up and running good until I updated my system from OSX Monterey 12.6 to 12.7 and I started to have the following error

"Warning: opendir(/Users/apple/Desktop/programs/ideas): Failed to open directory: Operation not permitted in /Users/apple/.composer/vendor/laravel/valet/cli/Valet/Server.php on line 167"

I have tried giving 777 permission to my directory uninstalled and reinstalled Valet, created an entirely new project in another directory but no luck.

0 likes
2 replies
salfel's avatar

try using laravel herd, which should work better for newer versions of macos than valet

1 like
Kimson11's avatar

@salfel hi, thank you for your suggestion, I did that but, it still returns the same error

Please or to participate in this conversation.