Security always comes first. It is recommended to keep your files secure on your systems. No one liked that anyone misused their hard work due to silly mistakes. Many of fresher set file permissions to 777 on production servers to avoid any permission issue. But they are doing big mistakes by setting world writable...
Right file permission is the most crucial part of the Linux system management. A file with permission 777 is open to everyone for read and write. Any user logged in to system can write to this file. Which can be harmful for your system. In some condition’s, you may required 777 permissions like log...
Setting the proper file permission for any web application is an important part of web hosting. In this tutorial, you will learn how to properly configure file permissions on a Laravel application hosted on Linux web server. First of all, Identify the user name under which web server is running. Here are some default...
Setting the proper file permission for any web application is an important part of web hosting. In this tutorial, you will learn how to change file permissions on folder and sub-folders recursively in a single command. As you know, In Linux everything is treated as a file. A folder is also known as directory...
chmod is command line utility for changing permissions of files and directories under Linux/Unix operating system. This tutorial will explain you how to change different-2 permissions for files and directories recursively. Change Permissions Recursively For example following command will set permissions 755 (rwxr-xr-wx) on public_html directory in home directory and all its sub directories....
Chattr – A Linux Command – command is useful to change file attributes on Linux second extended file system. It provides more security on your files from unwanted changes and deletes. There are many attributes available to do it. To Add attributes on a file we use plus (+) and to remove attributes use...
How to Create MySQL User and Grant Permission. For the good security implementation, make sure to create separate user account rather than root to access database for each application. This will ensure that application can’t access other application’s database. You need MySQL administrator (root) privileges To create user accounts and assign privileges to the...