I am trying to building a folder (name:components) within a build folder which contains only html files from the existing component folder using the following code.
find components -iname "*.html" -exec rsync -R {} ./build/ ';'
And it's running perfectly the component is building within build folder but when i access the component folder I'll get following error.
I'm looking for the permanent solution so that i wouldn't have to give the permission again and again to the folder for accessing.
What i can add into the given code so that automatically authentication give to the folder.

