Permissions for Shopware 6 under UBUNTU

Dear community!

I couldn’t find anything about which permissions should be set in Shopware 6. In my local ubuntu system I can’t able to update any theme configuration fields.
Getting this type of error while click on save button from theme manager :

code: "0" 
status: "500" 
title: "Internal Server Error"
detail: "Warning: chmod(): Operation not permitted" /var/www/html/shopware/development-6.4.11.1/vendor/league/flysystem/src/Adapter/Local.php

Thanks in advance

All you files should have www-data as its owner. Then you should be fine.

Hey, Thanks for the replay.
It’s working now.

Thank you so much.