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
No -e allowed in setuid scripts #676
Comments
From musta@eve.info.umoncton.ca The following code fragment extracts a user's group id and verifies ( Now when I compile the above (using "perlcc"), i get the following: % perlcc usergroup.p Compiling usergroup.p: Making C(usergroup.p.c) for usergroup.p! The compilation seems to have gone fine. However, when I "chown" the % uname -rs % id % ls -ls ./usergroup % file ./usergroup % ./usergroup But then, I get the following when I run the set-user-id script: % ls -ls ./usergroup.p % file ./usergroup.p % ./usergroup.p which is what it is supposed to be with the binary. How come I get the above error message ("No -e allowed in setuid scripts") I thought that might be a bug that should be reported to you. Oh, I'm Thanks! |
From [Unknown Contact. See original ticket]Hello, The following code fragment extracts a user's group id and verifies ( Now when I compile the above (using "perlcc"), i get the following: % perlcc usergroup.p Compiling usergroup.p: Making C(usergroup.p.c) for usergroup.p! The compilation seems to have gone fine. However, when I "chown" the % uname -rs % id % ls -ls ./usergroup % file ./usergroup % ./usergroup But then, I get the following when I run the set-user-id script: % ls -ls ./usergroup.p % file ./usergroup.p % ./usergroup.p which is what it is supposed to be with the binary. How come I get the above error message ("No -e allowed in setuid scripts") I thought that might be a bug that should be reported to you. Oh, I'm Thanks! |
Migrated from rt.perl.org#1565 (status was 'resolved')
Searchable as RT1565$
The text was updated successfully, but these errors were encountered: