Issue with directory

I just installed Cyberpanel and whmcs on my server and there is a warning in whmcs that i can’t get rid of:

Sensitive Directory Check

One or more sensitive directories are accessible from the web:

/vendor

Please refer to our Further Security Steps for information.
https://docs.whmcs.com/Further_Security_Steps#Vendor_Directory

Hi there,

Can you please check if there is a .htaccess file present in the /vendor directory and if cyberpanel is set to read that file?

ps. since the warning msg is coming from whmcs, you may get more whmcs/specific answers on their forums: https://whmcs.community/

Cheers!

At last, I found the solution using ChatGPT.

Please run this command, chmod -R 750 /path/to/your/vendor