bugZoneCheck - Bugs: bug #6276, If you install under sudo, sudo is...

 
 

bug #6276: If you install under sudo, sudo is selected as the interpreter

Submitted by:  None
Submitted on:  Fri 31 Oct 2003 09:26:33 PM UTC  
 
Category: inputSeverity: High
Priority: 5 - NormalItem Group: Crash/Error
Status: FixedPrivacy: Public
Assigned to: Stephane D'Alu <sdalu>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 06 Nov 2003 06:22:15 PM UTC, comment #1:

fixed by check for the SUDO_COMMAND environment variable
before looking at _, but this remains a hack, if it doesn't
work you should use the option -DRUBY=/path/to/ruby when
calling install.rb. You can check that RUBY is correctly
set by invoking the script without a target

Stephane D'Alu <sdalu>In charge of this item.
Fri 31 Oct 2003 09:26:33 PM UTC, original submission:

I typed:

sudo ruby ./installer.rb all

(Do note that the INSTALL file calls the program install.rb) and then zonecheck was installed but with a shebang line of #!/usr/bin/sudo :-)

Probably because argv[0] was "sudo"...

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 06 Nov 2003 06:22:15 PM UTCsdaluStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)
Thu 06 Nov 2003 12:34:26 PM UTCsdaluPriority100(Error - Not Found)=>(Error - Not Found)
  Assigned toNone=>NA

Back to the top


Powered by Savane 3.1-cleanup1