I don’t know why but I can’t seem to mount /dev/sda1 (my Sabayon Linux partition) anymore in Dolphin and view its files. Yes my user account has admin privileges and I can mount my external drive fine and access its files. I can also mount /dev/sda1 from the command-line with
sudo mount /dev/sda1 /mnt
but I can’t seem to mount it and access its files in Dolphin anymore. The exact error I keep getting whenever I try to mount /dev/sda1 in Dolphin is:
An error occurred while accessing ‘/home/makerpm’, the system responded: You are not authorized to perform this operation: Not authorized to perform operation
The kdesu dialog to ask for my admin password pops up for like a blink of an eye before it disappears, after attempting to mount /dev/sda1 in Dolphin. My username is fusion809 (and yes I am sure I am logged in as this account as running echo $USER from a new Konsole tab returns fusion809), /home/makerpm is the home folder of the makerpm user I use for building Atom packages locally by following the Fedora Wiki guide on building RPMs. This error seems to have started when I ran (as root):
mount /dev/sda1 /mnt
chroot /mnt /bin/bash
and ran
equo update && equo upgrade
in the chroot to keep my Sabayon installation on /dev/sda1 up-to-date. After this I unmounted /dev/sda1 from the command-line to make it accessible to Dolphin and since then I have been experiencing this issue.
For example, I don’t know what it means to say that your account has admin privileges.
Yes, some distros use membership of the “wheel” group for that. But opensuse doesn’t. Have you changed “polkit” settings so that some group membership gives special rights?
Also, is there an entry in “/etc/fstab” for this file system? If there is, what does it say?
I meant that the User Manager (from System Settings) says I’m an administrator, that and I have sudo privileges. Here is a screenshot to show what I mean by User Manager. http://imgur.com/9cBfyDe.pngHere is my /etc/fstab file:
the way I usually determine UUIDs for my various partitions is to mount them in dolphin and then look at their /run/media/fusion809/ file path (e.g., one of my external drive partitions is at /run/media/fusion809/5fc20d24-4af4-4e5b-882b-f76dc533aca6/ so that gives me a UUID of 5fc20d24-4af4-4e5b-882b-f76dc533aca6), and I can’t do that for my internal partition (as if I could I wouldn’t be asking this question to begin with). If you have another way of determining my /dev/sda1 partition’s UUID please tell me if you need it in order to help me with this issue.
user manager might say administrator but there are no admin accounts on openSUSE there is only one **root
**why not use polkit to do what you want
create a file
kdesu kate /etc/polkit-1/rules.d/10-udisks2.rules
paste this content and save the file
// See the polkit(8) man page for more information
// about configuring polkit.
// Allow udisks2 to mount devices without authentication
// for users in the "storage" 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;
}
});
I suggest you don’t use the general users group but create a new group called **storage **and adding yourself to it, now you’ll be able to mount all partitions without the need for root password, and you won’t have to mess with disk ID’s or mount points