Ticket #4442 (closed defect: fixed)
EBox::UsersAndGroups::_setFilesystemQuota - Cannot set quota to 0
| Reported by: | ndufour@… | Owned by: | jamor@… |
|---|---|---|---|
| Milestone: | 2.2.X | Component: | users |
| Severity: | major | Keywords: | |
| Cc: |
Description
I create or modif a user in LDAP MASTER and i have allow time this message in the manager web page
"Cannot set quota to 0. Please, choose another value"
Attachments
Change History
comment:2 Changed 12 months ago by jamor@…
- Status changed from new to accepted
- Component changed from base to users
It seems that it happens when no-standard disk layouts or using things as NFS to serve home directories. Normal/Default? disk layouts are unaffected.
Until the fix arrives you can use the attached file 'UsersAndGroups?.pm' to disable this feature. Use it to replace /usr/share/perl5/EBox/UsersAndGroups.pm and then execute 'sudo /etc/init.d/zentyal apache restart' then create your users. However the quotas would not work, regardless of what will be shown in the interface.
Regards,
Javier
comment:3 Changed 11 months ago by jamor@…
- Status changed from accepted to closed
- Resolution set to fixed
- Milestone set to 2.2.X
We have decided to change the error to a log so people with the problematic layouts can oeprate with zentyal. In future 2.3.X version will be try to improve upon this.
The change is done in http://git.zentyal.org/zentyal.git/commit/c5f82adbc2f4df9e2c61f42e7f741b7570a0c381
The new UsersAndGroup?.pm file to use is http://git.zentyal.org/zentyal.git/blob_plain/c5f82adbc2f4df9e2c61f42e7f741b7570a0c381:/main/users/src/EBox/UsersAndGroups.pm
Regards,
Javier
