Skip to content

DevOps NY

Figuring things out, to get it done!

Posted on May 19, 2011March 4, 2013 by Daniel Cassiero

Fixing Permissions on a website

Directory Perms:

find /path/to/base/dir -type d -print0 | xargs -0 chmod 755

 

File Perms:

find /path/to/base/dir -type f -print0 | xargs -0 chmod 644

Share this:

  • Click to email a link to a friend (Opens in new window) Email
  • Tweet
  • Click to share on Reddit (Opens in new window) Reddit
  • More

Like this:

Like Loading...
CategoriesApache2, Linux Tagsapache2, linux

Post navigation

Previous PostPrevious SNMP Configuration for linux hosts
Next PostNext Fix a broken svn repo
Proudly powered by WordPress
%d