Re: [kde] Permission to mount denied by Policy. What Policy?



On Sunday 23 August 2009 18:41:23 Billie Erin Walsh wrote:
James Kerr wrote:
On Sunday 23 August 2009 rcdawson@xxxxxxx wrote:
I am using Mandriva 2009.1. I found my self re-installing on a new
hard drive in order to get my video card to work. After the
re-install I reconnected the old drive (keeping the new drive in
place) and rebooted. My plan was to copy my old home directory.
After reboot I found the old hard drive had been mounted as two
"volumes" showing up in Dolphin. When I tried to open either of
those volumes I received a message
org.freedesktop.Hal.Device.PermissionDeniedByPolicy:
org.freedesktop.hal.storage.mount-fixed auth_admin_keep_always
<--(action,result).

How do I get around this Policy? Would it apply to any hard drive
I install, or is it responding to the fact that Mandriva and KDE
are installed on the second disk?

I suppose this is a matter of curisity more than necessity, at
least at the moment. I have copied my home to a USB drive, and
that mounts OK and is accessible. For future reference, however,
this would be useful information.

Policy is that you must be root to mount a partition on an internal
hard drive.

The solution is to add the partition to /etc/fstab. You can use
drakdisk (as root) to do this.

Jim

I have used Kubuntu since 7.04/KDE3.x. All my internal drives are
available with no problems, and I don't have to be "root" to access
them. I can move and swap files around as I please even to the Windows
XP drive.

Read again what Jim said. Of course you don't have to be root to access your
drives, but you do have to be root to mount them. If you put the entry into
fstab root will have already mounted them for you by the time you get your
desktop. Presumably that's what you are seeing in kubuntu.

Anne
--
New to KDE4? - get help from http://userbase.kde.org
Just found a cool new feature? Add it to UserBase

Attachment: signature.asc
Description: This is a digitally signed message part.

___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

Relevant Pages

  • Re: A few newbie questions...
    ... a root password at the console. ... I need to edit my fstab to add a second HDD (D: ... What would the mount point be? ... the hard drives are devices starting with ad. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Permission Problem
    ... I have been trying to get my floppy drive to allow user to read/write it. ... Only way to mount is as root, ... USB thumb drives and floppy disks are often formatted with a FAT ...
    (alt.os.linux.suse)
  • installed ATA RAID, now cannot boot - get mountroot prompt
    ... hard to know what question to ask the search engines! ... it cannot find root as root WAS on /dev/ad0s1a ... /etc/fstab contains the old drives names. ... how to do edit fstab to get it to mount the ...
    (freebsd-questions)
  • Re: SUSE 10.1 Printer problem
    ... Store-bought packaged SUSE v10.1 ... Attempts to mount the drive as root from ... My floppies, CD, DVD and USB flash drives all mount automatically with ...
    (alt.os.linux.suse)
  • Re: [SLE] ReConnecting NTFS drives to retrieve data
    ... To have the system allow you to mount the ... > drives try this. ... In the fstab change the type from auto to ntfs and make ... As root, when I type 'mount /windows' I get the same error. ...
    (SuSE)