If you want to give read and write permission to a folder in Linux os (fedora, centos, ubuntu then use the following command:
#setfacl -R -m u:YOUR_USERNAME:rwx FOLDER_NAME
This command will be helpful for other Linux users to change files and folders.