Bug 17

Summary: file owner and group settings
Product: Sudo Reporter: brodpower
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: high    
Priority: high    
Version: 1.6.3   
Hardware: Sun   
OS: Solaris 2.x   

Description brodpower 2000-11-14 13:16:16 MST
After installation of the solaris2.7 binaries, i noticed that
all files were not owned by root.  But owned by some unidentified
uid = 8036 and assigned to group "staff" (not established at this
site).  Why not owner=root and group=system or bin ? This is only
in directory where tar extraction was done.  Install_uid gid and sudoers_uid
gid was left to default=0 (which should be root, correct?)

Please advise on this.

Brodrick Tyndle
Dept. of Commerce
brodpower@yahoo.com
Comment 1 Todd C. Miller 2000-11-14 15:33:59 MST
Thus are the perils of untarring things as root.  Depending on the version of
tar you have it will create the files with the original ownership of the files
(ie: before they were added to the archive), not the current user/group.  This
is generally only a problem when you run tar as root, although it may also
happen on systems that allow files to be given away.  If you do a 'make install'
from the extraction directory the files will get installled with the correct
permissions.