Posts

Showing posts with the label permissions

Axios returned 403 when i requesting resource which has proper CORS setup - why? (my case)

Image
Axios returned 403 when i requesting resource which has proper CORS setup - why? (my case) I fell for that trick 🤯 - if you too, look into your infrastructure for CloudFlare DNS Proxy and rules inside Cloudflare which is blocking you and your Axios returned you 403 because it sees access denied from Cloudflare, not from your company resource you are trying to make request to and which is properly available for you by CORS (permissions). Happy coding, guys! 🤗

Vagrant modifying the Owner/Group when mounts synced folders

Modifying the Owner/Group By default, Vagrant mounts the synced folders with the owner/group set to the SSH user. Sometimes it is preferable to mount folders with a different owner and group. It is possible to set these options: config . vm . synced_folder "src/" , "/srv/website" , owner: "root" , group: "root"   https://www.vagrantup.com/docs/synced-folders/basic_usage.html