Mailinglist Archive: opensuse-kde3 (29 mails)

< Previous Next >
Re: [opensuse-kde3] 13.1: can only safely remove usb device as root user
Hello:

I have installed openSUSE 13.1 from DVD to try safely remove. I have installed
a minimal X workstation during setup, then I added KDE3 repos and installed
KDE3 packages. I don't have any KDE4 packages installed, all tabooed.

I also created the /etc/polkit-1/rules.d/10-allow-mount.rules file with content:

// Allow udisks2 to mount devices without authentication
// for users in the "users" group.
polkit.addRule(function(action, subject) {
if ((action.id == "org.freedesktop.udisks2.filesystem-mount-system" ||
action.id == "org.freedesktop.udisks2.filesystem-mount") &&
subject.isInGroup("users")) {
return polkit.Result.YES;
}
});
polkit.addRule(function(action, subject) {
if ((action.id == "org.freedesktop.udisks.filesystem-mount-system-internal")
&&
subject.isInGroup("users")) {
return polkit.Result.YES;
}
});

The user is in the users group. Rebooted the computer. Still safely remove does
not work, it gives the "Not authorized to perform operation" message.

These are the KDE3 base packages I have (from KDE3 repo):

~> rpm -qa|grep -i kdebase3
kdebase3-extra-3.5.10.1-391.3.x86_64
kdebase3-apps-3.5.10.1-391.3.x86_64
kdebase3-runtime-3.5.10.1-391.3.x86_64
kdebase3-3.5.10.1-391.3.x86_64
kdebase3-ksysguardd-3.5.10.1-391.3.x86_64
kdebase3-workspace-3.5.10.1-391.3.x86_64
kdebase3-session-3.5.10.1-391.3.x86_64
kdebase3-samba-3.5.10.1-391.3.x86_64
kdebase3-nsplugin-3.5.10.1-391.3.x86_64
kdebase3-kdm-3.5.10.1-391.3.x86_64
kdebase3-SuSE-11.3-117.1.x86_64
kdebase3-SuSE-branding-openSUSE-11.3-117.1.x86_64
kdebase3-SuSE-lang-11.3-117.1.noarch

What should I check? It must be some package or configuration if the above
solution works for others.

Thanks,

Istvan

--
To unsubscribe, e-mail: opensuse-kde3+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-kde3+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups
References