diff options
Diffstat (limited to 'zarb-ml/mageia-discuss/20120610/007744.html')
| -rw-r--r-- | zarb-ml/mageia-discuss/20120610/007744.html | 117 |
1 files changed, 117 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/20120610/007744.html b/zarb-ml/mageia-discuss/20120610/007744.html new file mode 100644 index 000000000..5d77ad2a2 --- /dev/null +++ b/zarb-ml/mageia-discuss/20120610/007744.html @@ -0,0 +1,117 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-discuss] Cannot unmount media as user + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Cannot%20unmount%20media%20as%20user&In-Reply-To=%3C4FD47013.3090904%40laposte.net%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="007746.html"> + <LINK REL="Next" HREF="007747.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-discuss] Cannot unmount media as user</H1> + <B>andre999</B> + <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Cannot%20unmount%20media%20as%20user&In-Reply-To=%3C4FD47013.3090904%40laposte.net%3E" + TITLE="[Mageia-discuss] Cannot unmount media as user">andre999mga at laposte.net + </A><BR> + <I>Sun Jun 10 11:59:47 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="007746.html">[Mageia-discuss] Cannot unmount media as user +</A></li> + <LI>Next message: <A HREF="007747.html">[Mageia-discuss] Cannot unmount media as user +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#7744">[ date ]</a> + <a href="thread.html#7744">[ thread ]</a> + <a href="subject.html#7744">[ subject ]</a> + <a href="author.html#7744">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Len Lawrence a écrit : +><i> Mageia 2 fully updated +</I>><i> GNOME Classic +</I>><i> +</I>><i> This is probably a newbie question.... I am not sure when this +</I>><i> started to happen but when, as a user, I try to unmount a USB drive +</I>><i> via the desktop icon I am told that I am not authorized to perform +</I>><i> that operation. After browsing bugzilla and the forums it looked like +</I>><i> the best way to get past this would be to use sudo. However, editing +</I>><i> the sudoers file always throws up a syntax error. I have tried +</I>><i> various commands based on examples but cannot get any to work. +</I>><i> +</I>><i> e.g. +</I>><i> +</I>><i> ALL /bin/umount NOPASSWD +</I>><i> %users /bin/umount NOPASSWD +</I>><i> %users localhost=/bin/umount NOPASSWD +</I>><i> +</I>><i> What is the correct recipe? RTFM only makes my old brain spin. +</I>><i> +</I>><i> Len +</I>><i> +</I> +try : + +%users ALL=/bin/umount NOPASSWD: ALL + +or maybe : + +%users ALL=/bin/umount device NOPASSWD: ALL + +where "device" is whatever the usb drive is mounted as. +Not workable if "device" is variable. + +Alternately, you could do : +su +(enter password) +umount ... + +As to why you are having the problem : +It means that the drive was mounted with root privileges, or the +privileges of another user. +Thus it is requiring root privileges (or that of the other user) to unmount. + +Was it plugged it when the system was booted ? That could cause it to +have root privileges. +Is it in a line the /etc/fstab file ? +(if so, you just have to add the option "users" in the comma-separated +list in the third position in the line.) + +Or it could be a bug. + +-- +André + +</PRE> + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="007746.html">[Mageia-discuss] Cannot unmount media as user +</A></li> + <LI>Next message: <A HREF="007747.html">[Mageia-discuss] Cannot unmount media as user +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#7744">[ date ]</a> + <a href="thread.html#7744">[ thread ]</a> + <a href="subject.html#7744">[ subject ]</a> + <a href="author.html#7744">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss +mailing list</a><br> +</body></html> |
