How to change file and directories from webFTP and from Filezilla

How to change file and directories from webFTP and from Filezilla

When we create a new file or make changes to the hosting, it is possible that the permissions of these files are not correct and therefore we cannot perform the necessary actions.
 
Below we will explain how to change file and directory permissions from webFTP and also from an external FTP client. In this guide, we will use FileZilla.
 
Change permissions from webFTP:
 
First of all, we must access our FTP user from the control panel: How to connect via FTP using webFTP
 
Once inside, the list of files in our main directory will appear. To modify permissions, we must select the file/directory we want to modify, go to the options in the upper right corner, and click on "Permissions":
 
 
Next, the option to modify the permissions of that file/folder will appear. We must select the permissions we consider appropriate and click the save icon as shown. If it is a folder, options will appear to apply permissions to subdirectories and files within the directory, meaning if we want to make the change recursively.
 
 
IMPORTANT: Permission changes can be made by selecting the "ticks" that appear for each type of user or by directly modifying the Chmod value. This function directly modifies permissions on the server, and there are many types of Chmod. Below we list the main ones:
 
Chmod 777: This type grants maximum permissions to all 3 types of users, giving them read, write, and execute permissions.
Chmod 755: In this case, chmod 755 grants read and execute permissions to all users, except the owner who has full permissions.
Chmod 666: This chmod command grants read and write permissions to all users, except execute. Everyone can access the file, read its contents, and modify it.
Chmod 644: Chmod 644 is usually used to prevent write access to anyone other than the owner.
 
Change permissions from FileZilla:
 
First of all, we must access our hosting from the FileZilla program in order to modify permissions: How to connect via FTP using FileZilla
 
Once inside, the list of files in our main directory will appear. To modify permissions, we must select the file/directory we want to edit and right-click and go to the last option, which appears as "File permissions..."
 
 
As soon as we select it, a window will appear with exactly the same editing options provided by webFTP:
 
 
IMPORTANT: Permission changes can be made by selecting the "ticks" that appear for each type of user or by directly modifying the Chmod value. This function directly modifies permissions on the server, and there are many types of Chmod. Below we list the main ones:
 
Chmod 777: This type grants maximum permissions to all 3 types of users, giving them read, write, and execute permissions.
Chmod 755: In this case, chmod 755 grants read and execute permissions to all users, except the owner who has full permissions.
Chmod 666: This chmod command grants read and write permissions to all users, except execute. Everyone can access the file, read its contents, and modify it.
Chmod 644: Chmod 644 is usually used to prevent write access to anyone other than the owner.
 
 
For more information, you can contact us.
    • Related Articles

    • How to connect via FTP using FileZilla

      Affordable hosting To upload your website to the contracted hosting service, you must use an FTP client program. There are many programs that can help you; one of the most popular is FileZilla. Connecting to the FTP service through a client requires ...
    • Most common FileZilla errors

      In certain situations, the web FTP manager cannot be used, which is why we recommend using an external FTP client. We recommend using FileZilla, which is completely free. How to connect via FTP using FileZilla It is true that in certain situations, ...
    • WordPress: Theme/plugins file editor does not appear

      If you have WordPress installed on your website, you may at some point need to make direct adjustments to your theme or plugin files. However, you might find that the option to edit these files directly from the WordPress administration panel is not ...
    • How to connect via FTP via webFTP

      To upload your website to your hosting account at cdmon, you need an FTP client. In the cdmon Control Panel, you have an intuitive web manager that allows you to perform the most common operations. The "WebFTP" service features allow you to access ...
    • How to modify hosting file permissions

      From the cdmon Control Panel, in the hosting management, you can modify the permissions of your website's files and directories. To change permissions, in the 'Security' section click on the option File and folder permissions In this section you can ...