How to fix mounting NTFS drives asking for root password in Linux

Опубликовано: 28 Октябрь 2024
на канале: Sandip Sky
2,467
43

#linux #linux_tutorial
Also install ntfs-3g if u haven't already using
Arch based: sudo pacman -S ntfs-3g
Ubuntu: sudo apt install ntfs-3g

Open terminal and Create the following file as root:
sudo nano /etc/polkit-1/rules.d/49-nopasswd_global.rules

//paste these in that file
polkit.addRule(function(action, subject) {
if (subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
});