Discussion:
[Thinkfinger-devel] [PATCH] install pam_thinkfinger.so without execute permission
Luca Capello
2007-02-01 18:52:08 UTC
Permalink
Hello,

I wonder why pam_thinkfinger.so is installed with permissions 755:
AFAIK you cannot directly execute it, so why not permissions 644
instead? Attached a patch for thinkfinger/pam/Makefile.am :-)

--8<---------------cut here---------------start------------->8---
Index: Makefile.am
===================================================================
--- Makefile.am (revision 57)
+++ Makefile.am (working copy)
@@ -1,3 +1,5 @@
+INSTALL_PROGRAM= @INSTALL_PROGRAM@ -m 644
+
pam_PROGRAMS = pam_thinkfinger.so
pamdir = $(SECUREDIR)

--8<---------------cut here---------------end--------------->8---

Thx, bye,
Gismo / Luca
Timo Hoenig
2007-02-04 13:26:56 UTC
Permalink
Hi Luca,
Post by Luca Capello
AFAIK you cannot directly execute it, so why not permissions 644
instead? Attached a patch for thinkfinger/pam/Makefile.am :-)
Thanks for the patch. Applied and committed to SVN.

Timo

Loading...