WordPress Local Install Theme Folder Permission To Edit

You have to add yourself to group www-data.
sudo usermod -a -G www-data yourUserName
Don’t forget the -a, which appends the new group to your existing groups. Otherwise you loose all other groups.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)