only change permissions if wp-content exists