cakephp 3 bin/cake Bake sets user model/controller owner to root -
i have tried new quick start tutorial in cakephp docs.
i have noticed user files have owner permissions set root , therefor locked when try edit in phpstorm.
even directory template/users set root.
all other files set logged in username.
is expected result? not see in docs. should change owner of files?
when install cakephp composer, sets directory/file permissions appropriately web server can access files needs. bake runs shell, when bake, creates models, controllers, , views (templates), , whatever else baked using permissions of user logged in when ran bake. if run bake again logged in standard user (not root or sudo), phpstorm should able access files writable.
Comments
Post a Comment