223
223
# Change the ownership of all the files to the right unixid
224
224
logging.debug("chown %s's home directory files to uid %d"
225
225
%(user.login, user.unixid))
229
os.chown(os.path.join(root, fsobj), user.unixid, user.unixid)
226
os.spawnvp(os.P_WAIT, 'chown', ['chown', '-R', '%d:%d' % (user.unixid,
232
230
# Set up the user's home directory