Add to Favourites Add to Favourites    Print this Article Print this Article

Invalid number: inode-hard

A few systems have a different setquota binary that expects the options for setting the quota in a different order.
DA can't change how it calls the program, so a wrapper is required to call the binary, in a moved location.

cd /usr/sbin
mv setquota setquota.moved
nano setquota

to open the editor.  Then, insert this code

#!/bin/sh
/usr/sbin/setquota.moved $1 $6 $2 $3 $4 $5
RET=$?
exit $RET

Save, exit, then chmod the setquota file to 755.

Was this answer helpful?

Also Read