Bug 48055 - eterm-0.9.1_1 fails to properly drop root permissions
Summary: eterm-0.9.1_1 fails to properly drop root permissions
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-07 17:50 UTC by jrm
Modified: 2003-02-14 22:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jrm 2003-02-07 17:50:07 UTC
        When running eterm-0.9.1_1 from a home directory located
        on an NFS partition that "squashes" root access, Eterm fails
        to start.  Ktracing around revealed that $HOME/.Xauthority
        could not be opened (permission denied).  Removing setuid
        bit on Eterm binary allowed $HOME/.Xauthority to be read, and
        Eterm to start (but not update wtmp); Hrmm...

Fix: 

Build Eterm without patch
        /usr/ports/x11/eterm/files/patch-src:startup.c.  This patch 
        appears to be erroneous.
How-To-Repeat:         Install Eterm, run from an NFS-mounted home directory that
        doesn't allow root access.
Comment 1 Jimmy Olgeni freebsd_committer freebsd_triage 2003-02-14 22:39:52 UTC
State Changed
From-To: open->closed

Fix committed in 0.9.2 port upgrade (ports/48259). Thanks!