Whenever I execute vendor/bin/phpunit
in root path of my laravel project, it gives back a Permission denied error. How can I fix this problem?
Important: I don't want to use composer update
or delete some or all the vendor/
dir then use composer install
as these methods will change too much files, which my master will not agree.
ps: lrwxrwxrwx 1 work work 26 Jul 21 07:10 phpunit -> ../phpunit/phpunit/phpunit
-rwxrwxrwx 1 work work 1199 Jul 22 08:19 ./vendor/phpunit/phpunit/phpunit
and chmod 775 -R vendor
doesn't work.
vendor/bin/phpunit
– Zhdanovwork
? – Zhdanovvendor/bin/phpunit
is a symbolic link to../phpunit/phpunit/phpunit
check the right there. – Zhdanov