Actions
Bug #14634
openuseradd forgets to destroy created FS if it fails to chmod it
Status:
New
Priority:
Normal
Assignee:
-
Category:
cmd - userland programs
Start date:
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
Looks like we close the handle too early and forget to destroy the created FS if we fail to chmod it:
http://src.illumos.org/source/xref/illumos-gate/usr/src/cmd/oamuser/user/homedir.c?r=d0b12b66#132
We fail to create the user in that case, so we have to clean up.
No data to display
Actions