Software & AppsOperating SystemLinux

How To Fix “Not Authorized to Perform Operation” Error on External Hard Drive in Ubuntu 18.04

Ubuntu 10

If you’re an Ubuntu 18.04 user and have encountered the “Not Authorized to Perform Operation” error while trying to access your external hard drive, you’re not alone. This error is common and can be quite frustrating, but the good news is that it can be fixed. In this article, we’ll walk you through several solutions to this problem.

Understanding the Problem

The “Not Authorized to Perform Operation” error typically occurs when there’s a permission issue between the operating system and the external hard drive. This can be caused by a variety of factors, including improperly disconnected drives, conflicts with certain software, or user permission settings.

Solution 1: Uninstall Chrome Remote Desktop

One common culprit behind this error is the Chrome Remote Desktop extension. If you have this extension installed, try uninstalling it to see if that resolves the issue.

Steps:

  1. Open the Chrome browser.
  2. Navigate to the Extensions page.
  3. Find the Chrome Remote Desktop extension and click on “Remove” or “Uninstall.”
  4. After uninstalling, try accessing the external hard drive again.

Solution 2: Remove chrome-remote-desktop Package

If uninstalling the Chrome Remote Desktop extension doesn’t work, you can try removing the chrome-remote-desktop package from your system. This can be done using the following command:

sudo apt autoremove chrome-remote-desktop

In this command, sudo gives you superuser privileges, apt is the package handling utility in Ubuntu, autoremove is used to remove packages that were automatically installed to satisfy dependencies for other packages and are now no longer needed, and chrome-remote-desktop is the package you’re removing.

Solution 3: Ensure the Disk is Clean and Properly Disconnected

If your external hard drive is formatted with NTFS and was not properly disconnected from a Windows system, it could be causing the error. Here’s how to ensure the disk is clean:

  1. Connect the drive to a Windows system.
  2. Use the File System checking tools of Windows to check the drive for errors.
  3. Fully shut down Windows or properly disconnect the drive using the icon in the notification area.
  4. In Ubuntu, wait until you are logged in before connecting the drive.
  5. You should now be able to access the volume without any authorization issues.

Remember, it’s important to properly disconnect the drive after use in Ubuntu. Either use the right-click option in Files (nautilus) to Eject the drive or fully shut down Ubuntu before disconnecting the drive.

Solution 4: Remove from chrome-remote-desktop Group

If you are part of the chrome-remote-desktop group, it could be causing the problem. You can remove yourself from the group by running the following command:

sudo gpasswd -d $USER chrome-remote-desktop

In this command, sudo gives you superuser privileges, gpasswd is a command-line utility that is used to set or change a user’s password, -d is used to delete a user from a group, $USER is a variable that represents the current user, and chrome-remote-desktop is the group you’re removing yourself from.

After removing yourself from the group, reboot your system and try accessing the external hard drive again.

Conclusion

The “Not Authorized to Perform Operation” error can be a nuisance, but with these solutions, you should be able to resolve it and regain access to your external hard drive. If none of these solutions work, further troubleshooting may be required. Remember, when dealing with system-level changes, always proceed with caution and make sure you understand what each command does before executing it.

What should I do if uninstalling the Chrome Remote Desktop extension doesn’t fix the “Not Authorized to Perform Operation” error?

If uninstalling the Chrome Remote Desktop extension doesn’t work, you can try removing the chrome-remote-desktop package from your system. This can be done by running the command sudo apt autoremove chrome-remote-desktop in the terminal.

What should I do if I am part of the `chrome-remote-desktop` group and it’s causing the problem?

If you are part of the chrome-remote-desktop group and it’s causing the "Not Authorized to Perform Operation" error, you can remove yourself from the group by running the command sudo gpasswd -d $USER chrome-remote-desktop in the terminal. After removing yourself from the group, reboot your system and try accessing the external hard drive again.

Leave a Comment

Your email address will not be published. Required fields are marked *