JonMagon / KDiskMark

A simple open-source disk benchmark tool for Linux distros
GNU General Public License v3.0
1.07k stars 43 forks source link

[feature] Allow becnhmarking user's home, withput requireing root #114

Closed Mart-Bogdan closed 1 year ago

Mart-Bogdan commented 1 year ago

It shows my /home mount in drop-down, but said catalog requires root access to work with.

Would be nice if it run benchmark inside /home/$USERNAME instead. or use actuall $HOME with some fancy conditions. It it is on desired FS, or something.

So either just add $HOME as entry to drop-down, or detect it it is on desired FS and just use home instead of FS root.

JonMagon commented 1 year ago

New native versions of kdiskmark require root, as this allows the necessary functionality to be achieved. All operations are done through the rooted helper. Sharing the helper code with the main application is not practical.

mystica555 commented 9 months ago

What precisely needs root access? if I can write to $HOME I want to be able to test as a normal user. This seems wildly insecure to force root access for writing a file in my homedir.