Changing File Permissions

The file browser provides a graphical interface where you can change file and directory permissions without using the command line.

What Do You Need?

  • The Cockpit web console must be installed and accessible.

    For details, see Install and Enable Cockpit and Log in to the Cockpit Web Console.

  • The Cockpit Files package (cockpit-files) must be installed. In the case where the File Browser module doesn't appear in the web console navigation panel, see Install and Manage Add-on Applications.
  • User accounts and groups must be provisioned.

    For details, see Create or Change User Accounts and Find and Manage Account Information.

  • Administrator or ownership privileges for the file or directory you are managing.

    Note:

    When you sign in to the Cockpit web console, limited access mode is enabled by default. To gain administrative access, click Turn on administrative access and authenticate when prompted.

    With administrative access, you can change the file owner and group in addition to the file permissions.

    Additionally, users with administrative access can select either root or their account as the owner when they create a directory.

Steps

Follow these instructions to change permissions for a file or directory on the server.

  1. In the Cockpit navigation pane, click File browser.
  2. Navigate to the parent directory of the file or directory whose permissions you want to change.
  3. In the Directories & files pane, click the file or directory.
    The right pane displays details about the file or directory, where you can review the current owner and permissions settings.
  4. Under the details for the file or directory, click Edit permissions.
  5. Select permissions for the file or directory.
  6. Click Change.