1

My project is deployed in a server. Server is pulling from Github. I want, users can upload images in one folder in Github which is deployed in server. It is showing "Permission Denied". How to give write access to that folder in github ?

I am using CloudWays PHP project. Deployed via Github.

1 Answers1

0

You need to change the permission of the directory and enable others to create files inside.

sudo chmod -R 777 /yourfolderpath

This command will change the permission of the directory recursively and enable all other users to create/modify and delete files and directories inside.

Shashank Shah
  • 2,077
  • 4
  • 22
  • 46