Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6623 - superadduser ownership of home directory
Summary: superadduser ownership of home directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-16 21:56 UTC by David Cozatt
Modified: 2002-08-17 19:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Cozatt 2002-08-16 21:56:22 UTC
when superadduser is run it does not run chown on the home directory. 
Suggest changing  
 
if [ -d $HME ]; then 
  chmod 711 $HME 
fi 
 
to 
 
if [ -d $HME ]; then 
  chmod 711 $HME 
  chown $LOGIN:$GID $HME	 
fi
Comment 1 David Cozatt 2002-08-16 22:07:27 UTC
oops should be  
chown $LOGIN:$GGID $HME 
 
Comment 2 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-08-17 19:19:10 UTC
Fixed. Available as app-admin/superadduser-1.0-r2