Skip to main content
improvement of aesthetics
Source Link

It can be done using below command as well.

find some-folder-path -type d -name wp-content -exec chown new-user:new-group {} \;

The above command will change ownership and group of all folders having name wp-content.

find some-folder-path -type d -exec chmod 755 {} \;
find some-folder-path -type f -exec chmod 644 {} \;

The above command will change permission of files to 644 and of folders to 755.

It can be done using below command as well.

find some-folder-path -type d -name wp-content -exec chown new-user:new-group {} \;

The above command will change ownership and group of all folders having name wp-content.

find some-folder-path -type d -exec chmod 755 {} \;
find some-folder-path -type f -exec chmod 644 {} \;

The above command will change permission of files to 644 and of folders to 755.

It can be done using below command as well.

find some-folder-path -type d -name wp-content -exec chown new-user:new-group {} \;

The above command will change ownership and group of all folders having name wp-content.

find some-folder-path -type d -exec chmod 755 {} \;
find some-folder-path -type f -exec chmod 644 {} \;

The above command will change permission of files to 644 and of folders to 755.

It can be done using below command as well.

find some-folder-path -type d -name wp-content -exec chown new-user:new-group {} \;

find some-folder-path -type d -name wp-content -exec chown new-user:new-group {} \;

The above command will change ownership and group of all folders having name wp-content.

find some-folder-path -type d -exec chmod 755 {} \;

find some-folder-path -type f -exec chmod 644 {} \;

find some-folder-path -type d -exec chmod 755 {} \;
find some-folder-path -type f -exec chmod 644 {} \;

The above command will change permission of files to 644 and of folders to 755.

It can be done using below command as well.

find some-folder-path -type d -name wp-content -exec chown new-user:new-group {} \;

The above command will change ownership and group of all folders having name wp-content.

find some-folder-path -type d -exec chmod 755 {} \;

find some-folder-path -type f -exec chmod 644 {} \;

The above command will change permission of files to 644 and of folders to 755.

It can be done using below command as well.

find some-folder-path -type d -name wp-content -exec chown new-user:new-group {} \;

The above command will change ownership and group of all folders having name wp-content.

find some-folder-path -type d -exec chmod 755 {} \;
find some-folder-path -type f -exec chmod 644 {} \;

The above command will change permission of files to 644 and of folders to 755.

Source Link

It can be done using below command as well.

find some-folder-path -type d -name wp-content -exec chown new-user:new-group {} \;

The above command will change ownership and group of all folders having name wp-content.

find some-folder-path -type d -exec chmod 755 {} \;

find some-folder-path -type f -exec chmod 644 {} \;

The above command will change permission of files to 644 and of folders to 755.