/ Published in: Bash
                    
                                        
Sets the permissions for all folders to 755, and for all files 644.
Useful for SUPHP configurations which required this specific permission setup.
                Useful for SUPHP configurations which required this specific permission setup.
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
find . -type d -print0 | xargs -0 chmod 0755 # For directories
find . -type f -print0 | xargs -0 chmod 0644 # For files
Comments
 Subscribe to comments
                    Subscribe to comments
                
                