There are times when standard Windows files require higher priority rights. This may be necessary when using the php language, when the program generates an error about insufficient file rights and asks to set the rights to "777".
Necessary
Total Commander program
Instructions
Step 1
Open the Total Commander program. This file manager is found on almost every computer due to its excellent features and a wide range of useful functions. If you do not have such software installed on your computer, you can find it on the website softodrom.ru. Install to the system directory of the hard drive on your computer and start using the shortcut on your desktop. Find your file in the program that needs to be added with special rights.
Step 2
Select the file by placing the cursor on it. Click on the main menu "File" and select "Change Attributes". The utility window for configuring hidden file attributes will open. In this case, you do not need to enable the display of hidden files, since the utility automatically does this. Set the attribute to "777" for the custom file. Then edit the rest of the attributes. Php file to solve the problem described above, you need to add the following attributes: DB host, DB username, DB password and DB name. All these parameters you received when registering your site.
Step 3
Add these attributes using the bottom of the window and the Add Attribute and Remove Attribute buttons. Save the changes after finishing work by clicking "OK". Now the file will contain information about the added attributes. Using this utility, you can change the main attributes of files, such as the creation time of the document, and the common Windows attributes "Hidden", "Read-only", "Archive" and "System" by checking these boxes.
Step 4
You can create your own attributes with values as described above. You can also set file permissions using ftp applications. They allow you to change the rights of files that are located on the server, for example, on the hosting that you use. For example, you can install the Filezila program for this.