Your message dated Wed, 1 Jun 2011 20:40:21 +0100
with message-id <[email protected]>
and subject line Re: Bug#242910: perl: script permissions should be ignored
has caused the Debian Bug report #242910,
regarding perl: script permissions should be ignored
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
242910: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=242910
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: clanlib
Version: 0.6.5-1-1
Severity: serious
>From my build log:
...
Compiling Sources/Core/IOData/Unix/directory_scanner_unix.cpp
Sources/Core/IOData/Unix/directory_scanner_unix.cpp: In member function `
virtual bool CL_DirectoryScanner_Unix::next()':
Sources/Core/IOData/Unix/directory_scanner_unix.cpp:99: error: `assert'
undeclared (first use this function)
Sources/Core/IOData/Unix/directory_scanner_unix.cpp:99: error: (Each undeclared
identifier is reported only once for each function it appears in.)
make[1]: *** [Libs/Intermediate/directory_scanner_unix.o] Error 1
make[1]: Leaving directory
`/tmp/buildd/clanlib-0.6.5-1/build-tree/ClanLib-0.6.5'
make: *** [debian/stampdir/build] Error 2
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux frobnitz 2.4.21-pre5 #1 Sat Mar 1 09:01:10 PST 2003 i686
Locale: LANG=C, LC_CTYPE=C
--
Daniel Schepler "Please don't disillusion me. I
[email protected] haven't had breakfast yet."
-- Orson Scott Card
--- End Message ---
--- Begin Message ---
Version: 5.12.0-1
On Fri, May 23, 2008 at 09:23:00PM +0300, Niko Tyni wrote:
> On Fri, Apr 09, 2004 at 09:27:59AM +0200, Filip Van Raemdonck wrote:
> > On Thu, Apr 08, 2004 at 02:58:44PM +0200, Sebastian Muszynski wrote:
> > >
> > > $ chmod g+s test.pl
> > > $ perl test.pl
> > > No #! line at test.pl line 1.
> > > $
> >
> > Hmm, that is IMNSHO a bug or serious misfeature of perl if it behaves that
> > way. What is being run here is the perl binary, not the script; the script
> > is merely input data for the perl binary. It's permissions should be ignored
> > aside from the fact that it has to be readable and perl should not behave
> > differently simply because the datafile that it processes has the set GID
> > bit
> > set.
>
> This is a feature, not a bug.
>
> >From perlsec(1):
>
> Perl can emulate the setuid and setgid mechanism when it notices
> the otherwise useless setuid/gid bits on Perl scripts. It does
> this via a special executable called suidperl that is automatically
> invoked for you if it’s needed.
>
> >From perldiag(1):
>
> No #! line
> (F) The setuid emulator requires that scripts have a
> well-formed #! line even on machines that don’t support
> the #! construct.
>
> Lowering the severity to 'wishlist'; it's possible that the setuid
> emulator will be removed at some point as it was expected to go away
> for 5.10 but didn't. From perl587delta(1):
>
> For new projects the core perl team strongly recommends that
> you use dedicated, single purpose security tools such as "sudo"
> in preference to "suidperl".
It went away in 5.12 (and I've confirmed the above test case now works)
so closing report accordingly.
--
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
--- End Message ---