Univention Bugzilla – Bug 48818
unexpected behaviour when setting a user-quota policy
Last modified: 2019-03-04 11:52:19 CET
Setting hard and soft limits for quota policies via umc has some problems: - The default unit is B(yte), while in the UMC quota module it is MB. this is inconsistent. - inserting values without a unit SHOULD default to B, but this doesn't work as a) the if statement only passes if the value is 0-10 b) the value then gets divided by 1024, which for int < 10 returns 0 anyways (see base/univention-quota/files/univention-user-quota lines 57-70) - There is no check if the hard limit is larger than the soft limit