diff options
Diffstat (limited to 'zarb-ml/mageia-discuss/20120611/007764.html')
-rw-r--r-- | zarb-ml/mageia-discuss/20120611/007764.html | 118 |
1 files changed, 118 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/20120611/007764.html b/zarb-ml/mageia-discuss/20120611/007764.html new file mode 100644 index 000000000..60f2544a2 --- /dev/null +++ b/zarb-ml/mageia-discuss/20120611/007764.html @@ -0,0 +1,118 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-discuss] Need help recovering execute permission on local files + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Need%20help%20recovering%20execute%20permission%20on%0A%20local%20files&In-Reply-To=%3C4FD60681.8040206%40gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="007763.html"> + <LINK REL="Next" HREF="007794.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-discuss] Need help recovering execute permission on local files</H1> + <B>Len Lawrence</B> + <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Need%20help%20recovering%20execute%20permission%20on%0A%20local%20files&In-Reply-To=%3C4FD60681.8040206%40gmail.com%3E" + TITLE="[Mageia-discuss] Need help recovering execute permission on local files">tarazed25 at gmail.com + </A><BR> + <I>Mon Jun 11 16:53:53 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="007763.html">[Mageia-discuss] Need help recovering execute permission on local files +</A></li> + <LI>Next message: <A HREF="007794.html">[Mageia-discuss] Quality of Service +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#7764">[ date ]</a> + <a href="thread.html#7764">[ thread ]</a> + <a href="subject.html#7764">[ subject ]</a> + <a href="author.html#7764">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 11/06/12 12:28, Doug Laidlaw wrote: +><i> On Mon, 11 Jun 2012 11:33:46 +0100 +</I>><i> Len Lawrence<<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">tarazed25 at gmail.com</A>> wrote: +</I>><i> +</I>>><i> After a warm reboot this morning I found that I no longer had the +</I>>><i> ability to run my own commands even though the permissions are correct +</I>>><i> and ownership is lcl (uid=500). User system commands are OK so +</I>>><i> running a script via ruby for instance works but trying to execute the +</I>>><i> script by itself fails even though it is fully executable. This +</I>>><i> applies to all my local bin commands. Command aliases however do work +</I>>><i> as long as they do not involve running any of my bin files. +</I>>><i> +</I>>><i> Even root cannot execute these bin commands; same message "Permission +</I>>><i> denied". +</I>>><i> +</I>>><i> In addition the system has switched me to autologin. Trying to run +</I>>><i> mcc I was told it cannot be run in console mode (??). If I login as +</I>>><i> su mcc comes up in console mode, which I am not inclined to use. +</I>>><i> +</I>>><i> The hostname on this machine is belexeuli; this does not appear in +</I>>><i> the command prompt: [<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">lcl at localhost</A> ~]$ +</I>>><i> +</I>>><i> After su: [<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">root at belexeuli</A> lcl]# +</I>>><i> +</I>>><i> This may all have something to do with my adding groups and changing +</I>>><i> group ids yesterday in my attempts to implement a viable sudoers +</I>>><i> command. It worked and I could log out and in again without any +</I>>><i> problems. I even managed a reboot without trouble but today is +</I>>><i> another story. +</I>>><i> +</I>>><i> I suspect that solving these multiple problems is beyond my technical +</I>>><i> skill even with help so a full reinstall is probably the best bet. +</I>>><i> However I will await any comments. +</I>>><i> +</I>>><i> Len +</I>>><i> +</I>><i> You say that the permissions are correct, but do they include execute +</I>><i> permissions? The prompt difference may be simply that root's prompt is +</I>><i> no longer the same as a user's prompt. It is set by a config file for +</I>><i> each user. You can see the code for it by typing "echo $PS1" In my +</I>><i> case, that gives "[\u@\h \W]\$" The \h puts in the hostname. You can +</I>><i> change it for the current session by typing at the user prompt: +</I>><i> +</I>><i> PS1="[\u@\h \W]\$" +</I>><i> +</I>><i> You can make that permanent by putting it in your .bash_profile, where +</I>><i> it should override the other at your next login, but really, it is only +</I>><i> a workaround. +</I>><i> +</I>><i> With so many issues, I would do a full reinstall, but more knowledgeable +</I>><i> people tell me it is the easy way out. +</I>><i> +</I>><i> HTH, +</I>><i> +</I>><i> Doug. +</I>Followup to my last message, out of sync. + +Logging out and in again solved the gui problem for root. No need to +reinstall then. + +Len + +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="007763.html">[Mageia-discuss] Need help recovering execute permission on local files +</A></li> + <LI>Next message: <A HREF="007794.html">[Mageia-discuss] Quality of Service +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#7764">[ date ]</a> + <a href="thread.html#7764">[ thread ]</a> + <a href="subject.html#7764">[ subject ]</a> + <a href="author.html#7764">[ 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> |