[SOLVED] Howto change permissions acessing partitions

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Howto change permissions acessing partitions

Postby Erik » Jul 8th, '13, 10:38

On my harddisk I have several partitions that I want to be able to access without being asked for the root password. I have been looking everywhere (I believe), and have even changed permissions in org.freedesktop.udisks.policy in order to achieve it. It irritates me that polkit bosses over me and tells me what I can customize and what not. In older versions of policykit there was a GUI to enable me to customize the permissions. This GUI has disappeared. I cannot uninstall polkit with install and remove software.

How can I become boss again in my own computer?

Greetings,

Erik.
Last edited by Erik on Jul 8th, '13, 21:32, edited 1 time in total.
Erik
 
Posts: 154
Joined: Jun 18th, '12, 17:22

Re: Howto change permissions acessing partitions

Postby djennings » Jul 8th, '13, 15:45

what file system do the partitions have?
Are they removable?
Are they listed in /etc/fstab ?
Last edited by djennings on Jul 8th, '13, 16:11, edited 1 time in total.
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: Howto change permissions acessing partitions

Postby Erik » Jul 8th, '13, 16:06

All partitions are ext4.

One of them has PCLinuxOS. There I can open the other partitions without a root password.

Thanks

Erik
Erik
 
Posts: 154
Joined: Jun 18th, '12, 17:22

Re: Howto change permissions acessing partitions

Postby djennings » Jul 8th, '13, 16:15

Erik wrote:All partitions are ext4.

One of them has PCLinuxOS. There I can open the other partitions without a root password.

Thanks

Erik

If you have entries in /etc/fstab for them then they will mount at boot.
Any files on them which are owned by your PCLinuxOS user will only be readable to your users if you either have the same UID/GID numbers in Mageia and PCLinuxOS, or else you make your Mageia user a menber of the same group as the PCLinuxOS users. You can do that using userdrake in Mageia Control Centre.
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: Howto change permissions acessing partitions

Postby doktor5000 » Jul 8th, '13, 20:06

Check viewtopic.php?f=41&t=5148 for what you want - no fstab entries needed.
But that doesn't solve the problem of unix permissions, as djennigs mentioned.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Howto change permissions acessing partitions

Postby Erik » Jul 8th, '13, 21:32

Dear DJennings and Doktor5000,

I tried the fstab solution and the script solution. Both work. In PCLinuxOS fstab does not contain all partitions. So the permissions problem must be somewhere in the polkit files. I adopted the solution with the polkit user.d files. It seems to me that KDE ought to make a program with a GUI in which teh user can customize the permissions himself. After all what is the logic of having a desktop environment with so many customizing options in its system settings programs, but without a program that sets system-wide settings.

I am grateful to you both and will file both your solutions under the head of "tweaks".

Thank you very much.

Erik
Erik
 
Posts: 154
Joined: Jun 18th, '12, 17:22


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest