Show
Ignore:
Timestamp:
11/24/05 15:14:53 (19 years ago)
Author:
jerome
Message:

Now regain priviledges before running an external mailto directive,
because smbstatus can't be run setuid (smbstatus is used by mailandpopup.sh)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/cupspykota

    r2584 r2588  
    804804            if mailto == "EXTERNAL" : 
    805805                # TODO : clean this again 
     806                self.regainPriv() 
    806807                self.externalMailTo(arguments, self.Action, self.User, self.Printer, self.Reason) 
     808                self.dropPriv() 
    807809            else :     
    808810                # TODO : clean this again