We have now linuxlib.php:
$inode = 1000000;
lxshell_return("setquota", "-u", $username, $disk, $disk, $inode, $inode, "-a");
so all accounts can have up to 1 milion files.
We would like to limit to 1/100 files:
$inode = $disk * 0,01;
lxshell_return("setquota", "-u", $username, $disk, $disk, $inode, $inode, "-a");
The problem is that for some quotas like 10 GB which is 10240 MB it does not work because it gives:
'setquota' '-u' 'viciu777' '10486760' '10485760' '104867.84' '104867.84' '-a'
and these .84 does not work...
This means there is something wrong with setting quota:
- example you set 10000 MB quota
- Kloxo shows 9.77 GB
- real quota is properly set for 10240000 bytes
Can you fix it ?