New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setuid script not plain file -error message #7721
Comments
From erik@vontaene.deCreated by erik@vontaene.deThis is a bug report for perl from erik@vontaene.de, ----------------------------------------------------------------- thanks, Perl Info
|
From @rgserik@vontaene.de (via RT) wrote:
The fact that perl stats /dev/null sounds like a bug to me.
Before we figure out what happens, I at least documented the error: Change 23672 by rgs@grubert 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 @@ +=item Setuid script not plain file (F) You don't have System V shared memory IPC on your system. -- |
The RT System itself - Status changed from 'new' to 'open' |
From @HugmeirOn Thu Dec 23 09:52:19 2004, rgarciasuarez@mandrakesoft.com wrote:
Looks like this error was removed at some point in the 5.8 series (it's |
From @cpansproutOn Sun Apr 29 19:11:45 2012, Hugmeir wrote:
Even though that particular error was removed, one must ask: Does perl Just for the record, I suspect that -e was causing this, as it does -- Father Chrysostomos |
From @nwc10On Mon, Apr 30, 2012 at 05:57:01AM -0700, Father Chrysostomos via RT wrote:
It's the long-standing internal hack that -e still requires a real file
It's still present in 5.8.8 and 5.8.9. It's gone now.
(gdb) r Breakpoint 1, 0x000000000053e7f0 in fstat64 () which is here: #ifdef DOSUID if (PerlLIO_fstat(PerlIO_fileno(PL_rsfp),&PL_statbuf) < 0) /* normal stat is insecure */ and then it continues: 3388 if (PL_statbuf.st_mode & (S_ISUID|S_ISGID)) { So, yes, it's a crazy interaction between the -e implementation and DOSUID. Nicholas Clark PS Yes, I did remember to sudo chmod u-s /dev/null |
From @nwc10On Mon, Apr 30, 2012 at 04:38:44PM +0100, Nicholas Clark wrote:
Although, we never did what the the original bug reporter requested, which Nicholas Clark |
@nwc10 - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#33159 (status was 'resolved')
Searchable as RT33159$
The text was updated successfully, but these errors were encountered: