Anthony Vance

Assistant Professor—Information Systems—Brigham Young University
  • Home
  • Resume
  • Research
  • Teaching
  • Personal
  • Blog
  • Feed

Changing Wordpress Unix Permissions

20 Dec, 2006  open source

I following is an easy way to ensure that Wordpress file permissions are correctly set using the find and xargs commands. I learned this technique from Dan Miessler’s excellent Find command primer.

Ensure each directory has the correct permissions set:

find . -type d -print0 | xargs -0 chmod 755

Ensure that each file has the correct permissions set :

find . -type f -print0 | xargs -0 chmod 644

Leave a Comment

Name: (Required)

E-mail: (Required)

Website:

Comment:

    Available Feeds

    Entries RSS
    Comments RSS

© 2005-2010 Anthony Vance | Theme modified by Anthony Vance, based on design by Wolfgang Bartelme, ported to Wordpress by LEMONed.