Mass ownership and permission change – Linux – Find command

How to change the permission of files and folders? Use chmod along with -exec to change the permissions. # find ./ -type f -exec chmod 777 {} \; this command changes all files permission to 777 in PWD. Use “-type d” for directory! How to change ownership? That’s simple. Use the chown command within the […]

See More

Su: Cannot set user id: Resource temporarily unavailable

Error details:    # su – Password: su: cannot set user id: Resource temporarily unavailable Solution: Edit (add) or change the following values in /etc/security/limits.conf # vi /etc/security/limits.conf ————- * soft nproc 2047 * hard nproc 16384 * soft nofile 1024 * hard nofile 65536 ————- It should be okay now!

See More

Database Upgrade Required

Error Database Upgrade Required  WordPress has been updated! Before we send you on your way, we have to update your database to the newest version. The update process may take a little while, so please be patient. Update WordPress Database Yes, of-course there will be an option to upgrade database. I clicked on it and […]

See More