Skip to content
Stuff I'm Up To
Go back
Manjaro Update – Sticky Bit

Manjaro Update – Sticky Bit

Fixing the Sticky Bit Error with Polkit in Manjaro

If you’re using Manjaro Linux and have encountered an authentication dialog that gets stuck, displaying an error about the file /usr/lib/polkit-1/polkit-agent-helper-1, you’re not alone. This issue can impede your ability to perform updates, install software, or even manage system settings. Here’s how to troubleshoot and resolve this sticky bit error effectively.

Understanding the Problem

The error message typically reads something like this:

“Authorization requires authentication. The polkit agent failed to respond.
/usr/lib/polkit-1/polkit-agent-helper-1 must be owned by root and have the sticky bit set.”

This warning means that the polkit-agent-helper-1 file is either not owned by the root user or doesn’t have the appropriate sticky bit permission, which is essential for security purposes and effective user authentication.

The Challenge

Unfortunately, the problem becomes frustrating due to a limitation in the GUI environment: the authentication dialog is non-responsive, preventing you from accessing a terminal or switching to any other applications where you could resolve the issue.

Step-by-Step Solution

Here’s a reliable method to fix the sticky bit error, allowing you to regain control over your Manjaro system.

Step 1: Access a Non-GUI Terminal

  1. Switch to a TTY Session:

Step 2: Log In

  1. Enter Your Credentials:

Step 3: Fix the Ownership and Sticky Bit

  1. Execute the Correct Command:

Step 4: Return to the GUI Environment

  1. Go Back to Your Desktop:

Conclusion

Once you’ve completed these steps, the sticky bit error should be resolved, and you should be able to access the necessary applications once again. This method proves invaluable when facing GUI limitations, as it allows for effective troubleshooting directly from a command-line interface.


Share this post:

Previous Post
Using Paramiko with SSH Config Including ProxyCommand and Includes
Next Post
Improve Your Build Times