Re: [SOLVED] Hal policy for allowing umount of other users mounts

2009-11-17 Thread Michael Cronenworth
Michael Cronenworth wrote:
> Pretend you're on Fedora 10. (No DeviceKit)
> Also, pretend you don't use PolicyKit.
> 
> What's the correct way to allow
> "hal-storage-can-unmount-volumes-mounted-by-others" for a particular
> user and/or group?
> 
> +100 points to person with the correct answer.
> 

Update: There is no way without PolicyKit. The part of hal that deals
with this permission has a nice little comment about it.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Hal policy for allowing umount of other users mounts

2009-11-11 Thread Michael Cronenworth
Kevin Kempter wrote:
> 
> 
> I believe you can get what you want via udev rules (/etc/udev/rules.d/*)
> I've used this to change perms on my USB palm devices in the past.
>   

Let me clarify: This is not a UNIX permissions error. This is a pure
dbus/HAL policy issue.

I want to use "dbus-send" to allow a non-root user access to unmount an
already mounted USB drive that was mounted by another non-root user.
Both users can mount and unmount through HAL already, but they cannot
unmount each other's mounts.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Hal policy for allowing umount of other users mounts

2009-11-11 Thread Kevin Kempter
On Wednesday 11 November 2009 08:14:16 Michael Cronenworth wrote:
> Pretend you're on Fedora 10. (No DeviceKit)
> Also, pretend you don't use PolicyKit.
> 
> What's the correct way to allow
> "hal-storage-can-unmount-volumes-mounted-by-others" for a particular
> user and/or group?
> 
> +100 points to person with the correct answer.
> 


I believe you can get what you want via udev rules (/etc/udev/rules.d/*)
I've used this to change perms on my USB palm devices in the past.
  
See these links for help getting started:

http://ubuntuforums.org/showthread.php?t=168221

http://www.reactivated.net/writing_udev_rules.html

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Hal policy for allowing umount of other users mounts

2009-11-11 Thread Michael Cronenworth
Pretend you're on Fedora 10. (No DeviceKit)
Also, pretend you don't use PolicyKit.

What's the correct way to allow
"hal-storage-can-unmount-volumes-mounted-by-others" for a particular
user and/or group?

+100 points to person with the correct answer.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines