Skip to content

Instantly share code, notes, and snippets.

@vgrish
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vgrish/9098084 to your computer and use it in GitHub Desktop.
Save vgrish/9098084 to your computer and use it in GitHub Desktop.
echo "Set permissions for /mag2.promoway1.ru/www...";
echo "CHOWN files...";
chown -R u19587:u19587 "/mag2.promoway1.ru/www";
echo "CHMOD directories...";
find "/mag2.promoway1.ru/www" -type d -exec chmod 0755 '{}' \;
echo "CHMOD files...";
find "/mag2.promoway1.ru/www" -type f -exec chmod 0644 '{}' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment