Bug 17 - file owner and group settings
file owner and group settings
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.6.3
Sun Solaris 2.x
: high high
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2000-11-14 13:16 MST by brodpower
Modified: 2000-11-14 19:33 MST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.