On 06/25/2014 11:04 AM, Istvan Gabor wrote:
Hello:
I know that HAL is obsolete but I still use it in openSUSE 12.2 with KDE3.
My question is when hald mounts a removable device, where the user id of the owner comes from? For example if I plug in a flash disk, /var/log/messages reports:
Jun 25 15:36:07 linux hald: mounted /dev/sdc1 on behalf of uid 1002
That is where the uid 1002 comes from, where is it configured?
In /etc/passwd. It is the uid of the user who performed the mount. In once sense this still applies. As a 13.1/KDE4 user, when I insert a removable device I get a popup asking me what I want to do. The default and choice of actions is configurable within KDE4. If, for example, I choose to open use the file manager (Konqueror) then the device gets mounted under /run/media/<username>. That location is also configurable :-) It is mounted using my user ID since I'm the one who mounted it. You might reasonably complain that the entry hal makes in your logs should say the user name and not the uid. Maybe it should say both. -- /"\ \ / ASCII Ribbon Campaign X Against HTML Mail / \ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org