• Montag, März 2, 2026

Effectively managing file and directory access permissions is a crucial aspect of maintaining the security and integrity of your web environment. By controlling who can read, write, or execute files, you can prevent unauthorized access and ensure your website operates smoothly. This comprehensive guide will walk you through the process of changing these permissions using the File Manager on both Linux and Windows systems.

Understanding File and Directory Permissions

File and directory permissions define the level of access users and system processes have to your files and folders. These permissions typically govern three primary actions: read (viewing content), write (modifying content), and execute (running a script or accessing a directory). Properly configured permissions are essential for preventing security vulnerabilities and ensuring that only authorized individuals or services can interact with your website's data.

Changing Permissions on Linux Systems

To modify the access permissions for a file or directory within your Linux-based environment, follow these straightforward steps:

  1. Navigate to the Websites & Domains section, select the relevant domain name, and then proceed to the File Manager.
  2. Locate and click on the specific file or directory whose permissions you intend to modify. Subsequently, click the Change Permissions button.

Important Note: The File Manager may not display the Change Permissions button for files and directories that are owned by system users (e.g., root or apache). In such cases, direct modification of these particular files and directories via the File Manager is not possible.

  1. Select the desired permissions you wish to grant or deny to various user groups. This allows you to control who can read, write, or execute the file or directory.
  2. For directories, you have the option to apply these new permissions to all enclosed files and subdirectories. To implement this, simply select the “Change permissions recursively” checkbox. This ensures a consistent access policy across the directory's contents.
  3. Once all necessary adjustments have been made, click Save to apply the new permissions settings.

Changing Permissions on Windows Systems

To adjust the access permissions for files or directories within your Windows-based environment, please follow these guidelines:

  1. Navigate to the Websites & Domains section, select the appropriate domain name, and then access the File Manager.
  2. Select the row corresponding to the file or directory for which you wish to modify permissions, then click Change Permissions.
  3. A detailed permission management interface will appear. Here, you can perform various actions to set basic permissions:
    • To enable the file or folder to inherit permissions from its parent directory (if not already inheriting), check the box labeled Allow inheritable permissions from the parent to propagate to this object and all child objects. Include these with entries explicitly defined here. This ensures consistency with the parent's access rules.
    • If you want all child files and subfolders within the current folder to inherit the newly defined permissions, select the checkbox Replace permission entries on all child objects with entries shown here that apply to child objects. This action will override any existing child permissions with the new settings.
    • To modify or revoke permissions for a specific user or group, select their name from the Group or user names list. If the user or group is not visible, you may need to add them from the menu situated above the list. Once selected, you can specify Allow or Deny for individual permissions under Permissions for <user/group name>. Note that grayed-out checkboxes indicate inherited permissions from a parent folder.
    • To explicitly deny permissions that are currently inherited as allowed from a parent object, simply select the corresponding checkboxes under the Deny column. This action takes precedence and overrides the inherited "allow" permissions for the current file or folder.
    • Conversely, to allow permissions that are currently inherited as denied, first deselect the Allow inheritable permissions from the parent to propagate to this object and all child objects. Include these with entries explicitly defined here checkbox. This effectively removes the inherited denial. Afterward, you can explicitly set the desired Allow and Deny permissions for the object.
    • To completely remove access permissions for a group or user, select their name from the Group or user names list and click the associated remove icon.
  4. For more granular control and fine-tuning of permissions, click the “Advanced” button. Within this section, you can perform the following actions:
    • To establish a new permission entry for a specific user or group, select their name from the Group or user names list and then click the add icon.
    • To define or modify file and folder permissions for a particular group or user, select their name from the Group or user names list. Then, choose the appropriate Allow and Deny checkboxes for each permission listed under Permissions for <user/group name>.
    • To delete an existing permission entry for a group or user, select their name from the Group or user names list and click the remove icon.
    • To ensure that child objects within a folder inherit the permissions defined for Permissions for <user/group name>, select the Replace permission entries on all child objects with entries shown here that apply to child objects checkbox. Subsequently, specify which types of child objects should inherit these permissions by selecting the relevant checkboxes in the Apply to list.
  5. After configuring all advanced permissions, click OK to confirm and apply your changes.

By diligently managing file and directory permissions, you significantly enhance the security posture of your website and ensure that only intended users and processes can interact with your valuable data. Regularly reviewing and adjusting these settings is a best practice for maintaining a robust and secure online presence.