diff options
Diffstat (limited to 'zarb-ml/mageia-discuss/20120611/007763.html')
-rw-r--r-- | zarb-ml/mageia-discuss/20120611/007763.html | 132 |
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 <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">tarazed25 at gmail.com</A>> wrote: + +><i> On 11/06/12 13:58, Alejandro López wrote: +</I>><i> +</I>><i> +</I>><i> +</I>><i> On Mon, Jun 11, 2012 at 2:30 PM, Len Lawrence <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">tarazed25 at gmail.com</A>> wrote: +</I>><i> +</I>>><i> On 11/06/12 12:28, Doug Laidlaw wrote: +</I>>><i> +</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>>>><i> +</I>>><i> Yes, all the commands have execute permission. I have been using my +</I>>><i> local bin directory for years and I have never +</I>>><i> +</I>><i> snipped +</I> +><i> As you say, a reinstall looks like the best way out. More knowledgeable +</I>>><i> people would probably know just where to look for the root of the +</I>>><i> problem(s) but even after 21 years experience of Unix and Linux I know next +</I>>><i> to nothing about access and security policies. +</I>>><i> +</I>><i> +</I>><i> +</I>><i> Maybe it was somehow mounted with the -noexec flag? +</I>><i> +</I>><i> Alejandro. +</I>><i> +</I>><i> +</I>><i> mtab contains this entry: +</I>><i> +</I>><i> /dev/sda6 /home ext4 +</I>><i> rw,nosuid,nodev,noexec,relatime,user_xattr,barrier=1,data=ordered 0 0 +</I>><i> +</I>><i> fstab had: +</I>><i> # Entry for /dev/sda6 : +</I>><i> UUID=341956e4-fddb-45a6-a191-4c912328ec7a /home ext4 user,defaults 1 2 +</I>><i> none /proc proc defaults 0 0 +</I>><i> +</I>><i> I have removed the "user," because it does not tally with my other mga2 +</I>><i> workstation. +</I>><i> That does not have noexec against /home. +</I>><i> +</I>><i> About to reboot. +</I>><i> +</I>><i> Thanks for the pointer. +</I>><i> +</I>><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: </pipermail/mageia-discuss/attachments/20120611/a86aec05/attachment.html> +</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> |