Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Perl: porters

[perl #33159] Setuid script not plain file -error message

 

 

Perl porters RSS feed   Index | Next | Previous | View Threaded


perlbug-followup at perl

Apr 29, 2012, 7:11 PM

Post #1 of 2 (54 views)
Permalink
[perl #33159] Setuid script not plain file -error message

On Thu Dec 23 09:52:19 2004, rgarciasuarez [at] mandrakesoft wrote:
> erik [at] vontaene (via RT) wrote:
> > I recently had the problem of having the error message
> > "Setuid script not plain file"
> > with every perl script I used.
> > However after a _really_ long time I found out what the problem was:
> > For some reason - no I don't know - /dev/null what set suid.
>
> The fact that perl stats /dev/null sounds like a bug to me.
> Not sure why it happens. Needs investigation.
>
> > I don't want to write a long story here so just this:
> > can you please more verbose output to your error messages?
> > Just like - in this case _which_ file is set suid.
> > Would be really nice.
>
> Before we figure out what happens, I at least documented the error:
>
> Change 23672 by rgs [at] gruber on 2004/12/23 17:21:37
>
> The "Setuid script not plain file" error wasn't documented.
>
> Affected files ...
>
> ... //depot/perl/pod/perldiag.pod#393 edit
>
> Differences ...
>
> ==== //depot/perl/pod/perldiag.pod#393 (text) ====
>
> @@ -3500,6 +3500,11 @@
> (F) The setuid emulator won't run a script that is writable by the
> world, because the world might have written on it already.
>
> +=item Setuid script not plain file
> +
> +(F) The setuid emulator won't run a script that isn't read from a file,
> +but from a socket, a pipe or another device.
> +
> =item shm%s not implemented
>
> (F) You don't have System V shared memory IPC on your system.
>

Looks like this error was removed at some point in the 5.8 series (it's
not present in 5.8.8), so I vote to close this.


---
via perlbug: queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=33159


perlbug-followup at perl

Apr 30, 2012, 5:57 AM

Post #2 of 2 (45 views)
Permalink
[perl #33159] Setuid script not plain file -error message [In reply to]

On Sun Apr 29 19:11:45 2012, Hugmeir wrote:
> On Thu Dec 23 09:52:19 2004, rgarciasuarez [at] mandrakesoft wrote:
> > erik [at] vontaene (via RT) wrote:
> > > I recently had the problem of having the error message
> > > "Setuid script not plain file"
> > > with every perl script I used.
> > > However after a _really_ long time I found out what the problem was:
> > > For some reason - no I don't know - /dev/null what set suid.
> >
> > The fact that perl stats /dev/null sounds like a bug to me.
> > Not sure why it happens. Needs investigation.
> >
> > > I don't want to write a long story here so just this:
> > > can you please more verbose output to your error messages?
> > > Just like - in this case _which_ file is set suid.
> > > Would be really nice.
> >
> > Before we figure out what happens, I at least documented the error:
> >
> > Change 23672 by rgs [at] gruber on 2004/12/23 17:21:37
> >
> > The "Setuid script not plain file" error wasn't documented.
> >
> > Affected files ...
> >
> > ... //depot/perl/pod/perldiag.pod#393 edit
> >
> > Differences ...
> >
> > ==== //depot/perl/pod/perldiag.pod#393 (text) ====
> >
> > @@ -3500,6 +3500,11 @@
> > (F) The setuid emulator won't run a script that is writable by the
> > world, because the world might have written on it already.
> >
> > +=item Setuid script not plain file
> > +
> > +(F) The setuid emulator won't run a script that isn't read from a file,
> > +but from a socket, a pipe or another device.
> > +
> > =item shm%s not implemented
> >
> > (F) You don't have System V shared memory IPC on your system.
> >
>
> Looks like this error was removed at some point in the 5.8 series (it's
> not present in 5.8.8), so I vote to close this.

Even though that particular error was removed, one must ask: Does perl
do anything with the suid bit any more?

Just for the record, I suspect that -e was causing this, as it does
funny things with /dev/null.

--

Father Chrysostomos


---
via perlbug: queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=33159

Perl porters RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.