Getting permission denied when trying to edit GST POS Invoice print format

when I try to edit this print format GST POS Invoice it is giving me error " IOError: [Errno 13] Permission denied: u’/home/frappe/frappe-bench/apps/erpnext/erpnext/accounts/print_format/gst_pos_invoice/gst_pos_invoice.json’ "
How to resolve this? I am logged in as administrator with developer options.

Hi welcome to ERPNext

This is an OS level permission, that prevents write access. The install convention is the ‘frappe’ user account has sudo privileges, that enables write access.