Linux дает разрешение на папку
sudo chmod -R a+rwx /path/to/folder
Ugly Unicorn
sudo chmod -R a+rwx /path/to/folder
# Change permissions for the root file/dir only
chmod 777 path/to/directory/
# Or
chmod 777 path/to/file
# Change permission for root dir and all files/dirs within
chmod -R 777 path/to/directory/
sudo chmod -R ugo+rwx /path/to/folder
// @Zenonymous
sudo chown -R $USER /usr/local/lib/node_modules
sudo chmod u+w myfolder