summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/20120611/007763.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-discuss/20120611/007763.html')
-rw-r--r--zarb-ml/mageia-discuss/20120611/007763.html132
1 files changed, 132 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/20120611/007763.html b/zarb-ml/mageia-discuss/20120611/007763.html
new file mode 100644
index 000000000..03ac8ab0b
--- /dev/null
+++ b/zarb-ml/mageia-discuss/20120611/007763.html
@@ -0,0 +1,132 @@
+<!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%09local%20files&In-Reply-To=%3CCALg9qdEeCFqzJF%3DnXF8gpRgfD1T5GAvPL3FDiCUCn2HGRkRHBw%40mail.gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="007762.html">
+ <LINK REL="Next" HREF="007764.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%09local%20files&In-Reply-To=%3CCALg9qdEeCFqzJF%3DnXF8gpRgfD1T5GAvPL3FDiCUCn2HGRkRHBw%40mail.gmail.com%3E"
+ TITLE="[Mageia-discuss] Need help recovering execute permission on local files">tarazed25 at gmail.com
+ </A><BR>
+ <I>Mon Jun 11 16:45:32 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="007762.html">[Mageia-discuss] Need help recovering execute permission on local files
+</A></li>
+ <LI>Next message: <A HREF="007764.html">[Mageia-discuss] Need help recovering execute permission on local files
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#7763">[ date ]</a>
+ <a href="thread.html#7763">[ thread ]</a>
+ <a href="subject.html#7763">[ subject ]</a>
+ <a href="author.html#7763">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On Mon, Jun 11, 2012 at 3:28 PM, Len Lawrence &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">tarazed25 at gmail.com</A>&gt; wrote:
+
+&gt;<i> On 11/06/12 13:58, Alejandro L&#243;pez wrote:
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> On Mon, Jun 11, 2012 at 2:30 PM, Len Lawrence &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">tarazed25 at gmail.com</A>&gt; wrote:
+</I>&gt;<i>
+</I>&gt;&gt;<i> On 11/06/12 12:28, Doug Laidlaw wrote:
+</I>&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> You say that the permissions are correct, but do they include execute
+</I>&gt;&gt;&gt;<i> permissions? The prompt difference may be simply that root's prompt is
+</I>&gt;&gt;&gt;<i> no longer the same as a user's prompt. It is set by a config file for
+</I>&gt;&gt;&gt;<i> each user. You can see the code for it by typing &quot;echo $PS1&quot; In my
+</I>&gt;&gt;&gt;<i> case, that gives &quot;[\u@\h \W]\$&quot; The \h puts in the hostname. You can
+</I>&gt;&gt;&gt;<i> change it for the current session by typing at the user prompt:
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> PS1=&quot;[\u@\h \W]\$&quot;
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> You can make that permanent by putting it in your .bash_profile, where
+</I>&gt;&gt;&gt;<i> it should override the other at your next login, but really, it is only
+</I>&gt;&gt;&gt;<i> a workaround.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> With so many issues, I would do a full reinstall, but more knowledgeable
+</I>&gt;&gt;&gt;<i> people tell me it is the easy way out.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> HTH,
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> Doug.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;<i> Yes, all the commands have execute permission. I have been using my
+</I>&gt;&gt;<i> local bin directory for years and I have never
+</I>&gt;&gt;<i>
+</I>&gt;<i> snipped
+</I>
+&gt;<i> As you say, a reinstall looks like the best way out. More knowledgeable
+</I>&gt;&gt;<i> people would probably know just where to look for the root of the
+</I>&gt;&gt;<i> problem(s) but even after 21 years experience of Unix and Linux I know next
+</I>&gt;&gt;<i> to nothing about access and security policies.
+</I>&gt;&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> Maybe it was somehow mounted with the -noexec flag?
+</I>&gt;<i>
+</I>&gt;<i> Alejandro.
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> mtab contains this entry:
+</I>&gt;<i>
+</I>&gt;<i> /dev/sda6 /home ext4
+</I>&gt;<i> rw,nosuid,nodev,noexec,relatime,user_xattr,barrier=1,data=ordered 0 0
+</I>&gt;<i>
+</I>&gt;<i> fstab had:
+</I>&gt;<i> # Entry for /dev/sda6 :
+</I>&gt;<i> UUID=341956e4-fddb-45a6-a191-4c912328ec7a /home ext4 user,defaults 1 2
+</I>&gt;<i> none /proc proc defaults 0 0
+</I>&gt;<i>
+</I>&gt;<i> I have removed the &quot;user,&quot; because it does not tally with my other mga2
+</I>&gt;<i> workstation.
+</I>&gt;<i> That does not have noexec against /home.
+</I>&gt;<i>
+</I>&gt;<i> About to reboot.
+</I>&gt;<i>
+</I>&gt;<i> Thanks for the pointer.
+</I>&gt;<i>
+</I>&gt;<i> Back in business as far as local bin files are concerned and root and lcl
+</I>quote belexeuli in the prompt. However, root cannot access the gui so
+tools like mcc are inaccessible. I need to clobber autologin. Is there a
+command line solution for that? I would guess that there is a file
+somewhere in /etc with AUTOLOGIN=1.
+
+Len
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;/pipermail/mageia-discuss/attachments/20120611/a86aec05/attachment.html&gt;
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="007762.html">[Mageia-discuss] Need help recovering execute permission on local files
+</A></li>
+ <LI>Next message: <A HREF="007764.html">[Mageia-discuss] Need help recovering execute permission on local files
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#7763">[ date ]</a>
+ <a href="thread.html#7763">[ thread ]</a>
+ <a href="subject.html#7763">[ subject ]</a>
+ <a href="author.html#7763">[ 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>