git-deploy-php icon indicating copy to clipboard operation
git-deploy-php copied to clipboard

default file permissions in deploy.ini

Open zdenekgebauer opened this issue 9 years ago • 1 comments

Thanks for interesting tool.

I found some problems with file permissions:

  • when I upload files from windows machine to some servers, created files/folders have permissions 640/750. This is a problem because the files are not readable through webserver. I think that deploy.ini should contain options like default_permission_file = 644 default_permission_folder = 755
  • some folder or files require different permissions, in example cache folder must be writable. So deploy,ini should contain options like chmod[] = cache:777 chmod[] = logs/some.log:666

zdenekgebauer avatar Aug 22 '15 19:08 zdenekgebauer

That sounds like a great idea - I'll build that in as soon as possible.

pocketarc avatar Sep 03 '15 21:09 pocketarc