[opensuse-kde3] 13.1 user cannot eject usb stick
In 11.4, I put in a stick, a popup asked me what to do, I selected open in new window, and went on about my business. When business finished, I went updir in that window, right clicked, and selected safely remove. Safely remove is denied in 13.1, "not authorized to perform operation". AFAICT, I can only eject as root user. I looked through the entire kde3 mailing list archive from October 2013 on without seeing this mentioned, and Googling "opensuse usb not authorized to perform operation 13.1 kde3" turned up nothing directly on apparent point, only about 12.3 and no more HAL or kio_slave. How/where does one authorize user ejection? Would updating to whatever's in the Trident repo help? If this is as simple as enabling the KDE3HAL repo to get HAL and the missing kio, why is KDE3HAL a separate repo? What's the downside? Mount output with a native stick inserted: /dev/sdg1 on /media/KNOPPIX72 type ext4 (rw,nosuid,nodev,noatime,sync,data=ordered,uhelper=udisks) Mount output with a NTFS stick inserted: /dev/sdg1 on /media/KINGS101G2 type fuseblk (rw,nosuid,nodev,noatime,sync,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096) Mount output with a VFAT stick inserted: /dev/sdg1 on /media/STORE N GO type vfat (rw,nosuid,nodev,noatime,sync,uid=1050,gid=1000,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,errors=remount-ro,uhelper=udisks) gvfsd-fuse on /run/user/1050/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1050,group_id=1000) -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
Hi, On Fri, Feb 6, 2015 at 12:22 AM, Felix Miata <mrmazda@earthlink.net> wrote:
In 11.4, I put in a stick, a popup asked me what to do, I selected open in new window, and went on about my business. When business finished, I went updir in that window, right clicked, and selected safely remove. Safely remove is denied in 13.1, "not authorized to perform operation". AFAICT, I can only eject as root user. I looked through the entire kde3 mailing list archive from October 2013 on without seeing this mentioned, and Googling "opensuse usb not authorized to perform operation 13.1 kde3" turned up nothing directly on apparent point, only about 12.3 and no more HAL or kio_slave. How/where does one authorize user ejection? Would updating to whatever's in the Trident repo help? If this is as simple as enabling the KDE3HAL repo to get HAL and the missing kio, why is KDE3HAL a separate repo? What's the downside?
Mount output with a native stick inserted: /dev/sdg1 on /media/KNOPPIX72 type ext4 (rw,nosuid,nodev,noatime,sync,data=ordered,uhelper=udisks)
Mount output with a NTFS stick inserted: /dev/sdg1 on /media/KINGS101G2 type fuseblk (rw,nosuid,nodev,noatime,sync,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
Mount output with a VFAT stick inserted: /dev/sdg1 on /media/STORE N GO type vfat (rw,nosuid,nodev,noatime,sync,uid=1050,gid=1000,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,errors=remount-ro,uhelper=udisks) gvfsd-fuse on /run/user/1050/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1050,group_id=1000)
Felix, Ilya once sent me the link to some tip that helped me in 12.3. I still did not try it in 13.1 or 13.2: ----------------------------------------------------------------------------------------------- - The user should be a member of "users" group. - create /etc/polkit-1/rules.d/10-allow-mount.rules with the following contents: // 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; } }); -------------------------------------------------------------------------------------------------------- Though it seems to talk about mounting, auto-mounting worked for me without this rule, but un-mounting did not. Regards, -- Mark Goldstein -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
Mark Goldstein írta:
Hi,
On Fri, Feb 6, 2015 at 12:22 AM, Felix Miata <mrmazda@earthlink.net> wrote:
In 11.4, I put in a stick, a popup asked me what to do, I selected open in new window, and went on about my business. When business finished, I went updir in that window, right clicked, and selected safely remove. Safely remove is denied in 13.1, "not authorized to perform operation".
Felix, Ilya once sent me the link to some tip that helped me in 12.3. I still did not try it in 13.1 or 13.2:
----------------------------------------------------------------------------------------------- - The user should be a member of "users" group. - create /etc/polkit-1/rules.d/10-allow-mount.rules with the following contents:
// 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; } });
Hello: I tried the above in openSUSE 13.2 KDE3 and KDE3-trident and it did not work in them. Mounting is OK, but unmounting is not. I haven't tried it in KDE3-HAL enabled version. Istvan -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
Hi, On Tue, Feb 17, 2015 at 7:26 PM, Istvan Gabor <suseuser04@freemail.hu> wrote:
Mark Goldstein írta:
Hi,
On Fri, Feb 6, 2015 at 12:22 AM, Felix Miata <mrmazda@earthlink.net> wrote:
In 11.4, I put in a stick, a popup asked me what to do, I selected open in new window, and went on about my business. When business finished, I went updir in that window, right clicked, and selected safely remove. Safely remove is denied in 13.1, "not authorized to perform operation".
Felix, Ilya once sent me the link to some tip that helped me in 12.3. I still did not try it in 13.1 or 13.2:
----------------------------------------------------------------------------------------------- - The user should be a member of "users" group. - create /etc/polkit-1/rules.d/10-allow-mount.rules with the following contents:
// 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; } });
Hello:
I tried the above in openSUSE 13.2 KDE3 and KDE3-trident and it did not work in them. Mounting is OK, but unmounting is not. I haven't tried it in KDE3-HAL enabled version.
Tried this now. In my case umount also failed, but if I right-click on drive icon and select "Safely remove", I've got a message "The device was successfully unmounted, but could not be ejected". And it was really unmounted (according to df). Weird. -- Mark Goldstein -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
participants (3)
-
Felix Miata
-
Istvan Gabor
-
Mark Goldstein