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