Password request with rack Sata

Hello everyone

There is a point that annoys me concerning a password request when opening my session (Manjaro KDE plasma). It is not about the session password but…access to a hard drive via a SATA rack which is installed in a free 5.25 slot on my tower.

To put it simply, I have several hard drives of low capacity (in today’s view) but sufficient for the specific files used to produce my videos via Kdenlive, for example road maps or satellite views.
So I have a DD for my travels and another for one of the associations where I volunteer, etc.

When I make a video, I put the relevant hard drive in the rack and Kdenlive will look for the specific files on that hard drive.

As long as I work on a video over several days, I leave the hard drive in the rack. And every time I start my PC, a password is asked. I would like to no longer have this, is this possible?

Thank you

As I speak English very poorly, I used the Google translator and sometimes the result is, let’s say…crazy.

Hello everyone If this ever interests a Denis-pom user on the Manjaro.fr site, they have found the solution. we need to establish a polkit rule. In console

su

and after password this 5 lines

echo 'polkit.addRule(function(action, subject) {
if (action.id.indexOf("org.freedesktop.udisks2.") == 0 && subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
});' > /etc/polkit-1/rules.d/98-disques.rules

and all is good.

Subject resolved

1 Like