mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
_choose_id function has changed slightly, run setquota once user is inited.
This commit is contained in:
+4
-2
@@ -74,12 +74,14 @@ EOF
|
||||
|
||||
_choose_uid()
|
||||
{
|
||||
perl -ne '@a = split(/:/); END { print $a[2]; }' /etc/passwd
|
||||
perl -ne '@a = split(/:/); END { printf "id=%d name=%s\n", $a[2],$a[0] }' \
|
||||
/etc/passwd
|
||||
}
|
||||
|
||||
_choose_gid()
|
||||
{
|
||||
perl -ne '@a = split(/:/); END { print $a[2]; }' /etc/group
|
||||
perl -ne '@a = split(/:/); END { printf "id=%d name=%s\n", $a[2],$a[0] }' \
|
||||
/etc/group
|
||||
}
|
||||
|
||||
_filter_repquota()
|
||||
|
||||
Reference in New Issue
Block a user