git报错
insufficient permission for adding an object to repository database
是因为项目的 .git 目录有些文件夹的权限的问题
chown -R www.www /data/wwwroot/
find /data/wwwroot/ -type d -exec chmod 755 {} \;
find /data/wwwroot/ -type f -exec chmod 644 {} \;
git报错
insufficient permission for adding an object to repository database
是因为项目的 .git 目录有些文件夹的权限的问题
chown -R www.www /data/wwwroot/
find /data/wwwroot/ -type d -exec chmod 755 {} \;
find /data/wwwroot/ -type f -exec chmod 644 {} \;