Could not edit /home/username/etc/ftpquota

When you try to create or modify FTP users in cPanel, you receive error:

Error:Could not edit/home/username/etc/ftpquota

Check ownership/permission set on ftpquota :

/home/username/etc/ftpquota

It should be like   username:mail   /home/username/etc/

File  “ftpquota”  should  have  username:username permission.