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.

About the Author

Avatar photo

今生在线

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据