diff options
Diffstat (limited to 'zarb-ml/mageia-discuss/20120610/007747.html')
| -rw-r--r-- | zarb-ml/mageia-discuss/20120610/007747.html | 128 |
1 files changed, 128 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/20120610/007747.html b/zarb-ml/mageia-discuss/20120610/007747.html new file mode 100644 index 000000000..1c1befc07 --- /dev/null +++ b/zarb-ml/mageia-discuss/20120610/007747.html @@ -0,0 +1,128 @@ +<!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=%3C4FD477B6.7030908%40gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="007744.html"> + <LINK REL="Next" HREF="007748.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-discuss] Cannot unmount media as user</H1> + <B>Len Lawrence</B> + <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Cannot%20unmount%20media%20as%20user&In-Reply-To=%3C4FD477B6.7030908%40gmail.com%3E" + TITLE="[Mageia-discuss] Cannot unmount media as user">tarazed25 at gmail.com + </A><BR> + <I>Sun Jun 10 12:32:22 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="007744.html">[Mageia-discuss] Cannot unmount media as user +</A></li> + <LI>Next message: <A HREF="007748.html">[Mageia-discuss] Cannot unmount media as user +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#7747">[ date ]</a> + <a href="thread.html#7747">[ thread ]</a> + <a href="subject.html#7747">[ subject ]</a> + <a href="author.html#7747">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 10/06/12 10:59, andre999 wrote: +><i> Len Lawrence a écrit : +</I>>><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 +</I>>><i> like the best way to get past this would be to use sudo. However, +</I>>><i> editing the sudoers file always throws up a syntax error. I have +</I>>><i> tried 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>><i> +</I>><i> try : +</I>><i> +</I>><i> %users ALL=/bin/umount NOPASSWD: ALL +</I>><i> +</I>><i> or maybe : +</I>><i> +</I>><i> %users ALL=/bin/umount device NOPASSWD: ALL +</I>><i> +</I>><i> where "device" is whatever the usb drive is mounted as. +</I>><i> Not workable if "device" is variable. +</I>><i> +</I>><i> Alternately, you could do : +</I>><i> su +</I>><i> (enter password) +</I>><i> umount ... +</I>><i> +</I>><i> As to why you are having the problem : +</I>><i> It means that the drive was mounted with root privileges, or the +</I>><i> privileges of another user. +</I>><i> Thus it is requiring root privileges (or that of the other user) to +</I>><i> unmount. +</I>><i> +</I>><i> Was it plugged it when the system was booted ? That could cause it to +</I>><i> have root privileges. +</I>><i> Is it in a line the /etc/fstab file ? +</I>><i> (if so, you just have to add the option "users" in the comma-separated +</I>><i> list in the third position in the line.) +</I>><i> +</I>><i> Or it could be a bug. +</I>><i> +</I>A bug seems doubtful because there do not seem to be any other reports +of this behaviour. I have been forced to take the direct su/password route. + +The medium was plugged in at boot time but has been removed and +replugged a few times. I had not considered that point. What you are +saying is that removable media are treated as fixed if already plugged +in at boot time? This is starting to make sense. Will investigate +fstab, edit if necessary and reboot without the drive . And if that +works, mend sudoers. + +Thanks + +Len + +</PRE> + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="007744.html">[Mageia-discuss] Cannot unmount media as user +</A></li> + <LI>Next message: <A HREF="007748.html">[Mageia-discuss] Cannot unmount media as user +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#7747">[ date ]</a> + <a href="thread.html#7747">[ thread ]</a> + <a href="subject.html#7747">[ subject ]</a> + <a href="author.html#7747">[ 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> |
