You are not authorized to mount this device [External HDD]

Alright. I do not know how but I have fixed it. Seems like Allah has been kind to us. But I will try to explain what I did.

Previously, I made modification to org.freedesktop.UDisks2.policy file to as follows:

<defaults>
<allow_any>yes</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>

in the <action id="org.freedesktop.udisks2.filesystem-mount"> section.

Next, in youtube I found a video to fix ntfs partitions which is based on ubuntu.
Then I searched AUR for ntfsfix.
Here, I found out that,

ntfsfix is part of the ntfs-3g package (website link)

Then I installed ntfs-3g by replacing the ntfs package installed by default in garuda.

After that, I unmounted the device from KDE Partition Manager and used this command below
sudo ntfsfix /dev/sdb1

It froze for a while and did not do anything, even the task manager was not showing any cpu usage, so I got impatient and pressed Ctrl + C

Next thing I discovered that it’s working fine and I can now write in it. :smile:
Though I think I need to run the ntfsfix -d command later to clear dirty indexes/files.

Thanks to all of you guys who have participated in this post. It was truly an amazing journey. Thank you all for all your kind support and I wish you all best of luck in your life.

1 Like