Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-03-23
05:06 • Deleted ticket [219310ffff]: tclhttpd fails to setuid on tcl8.2.2 with threads e... artifact: f8eba36869 user: hobbs
2000-10-26
05:10 • New ticket [219310ffff]. artifact: cb7c63408f user: nobody

tclhttpd fails to setuid on tcl8.2.2 with threads enabled

Deleted219310ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 25 years ago
Descriptionplain2000-10-26 05:10:30
OriginalBugID: 3513 Bug
Version: 8.2.2
SubmitDate: '1999-11-08'
LastModified: '1999-12-07'
Severity: MED
Status: UnAssn
Submitter: techsupp
ChangedBy: hobbs
OS: Linux-Red Hat
OSVersion: 5.1
Machine: Standard Pentium 166 (Thinkpad560E)
FixedDate: '2000-10-25'
ClosedDate: '2000-10-25'


Name:
miguel sofer

ReproducibleScript:
starting tclhttpd as root

ObservedBehavior:
tclsh8.2 starts three processes (or threads?) when compiled with --enable-threads.
tclhttpd seems to be able to setuid only the third process; fails to run properly

DesiredBehavior:
tclhttpd startable as root with threads enabled
hobbsplain2002-03-23 05:06:54
Logged In: YES 
user_id=72656

This sounds like it might be a tclhttpd bug, as it may need 
to call setuid earlier (before the threads are created), or 
setuid in each thread.
Log in (anonymous is fine) to add a comment.