sadam20
08-10-2011, 00:38
بعد اذنكم يا شباب انا لسه مبتدأ فى اللينكس وجيت انفذ الquota بس مفيد فايده مش راضيه تشتغل وعملت كل الخطوات ومشيت عليها بالظبط بس فى الاخر لما بحاول اعمل ملف جديد فى المكان اللى كنت بعمله quota مبينفعش ويقول غير مسموح ولما اجى اشوف الrepquota مش بلاقى فيه غير الroot
test@test:~$sudo /etc/fstab
/dev/sdb1 /mnt/hd ext3 defaults,usrquota,grpquota 0 1
test@test:~$sudo quotaoff /dev/sdb1
test@test:~$sudo quotacheck -cug /dev/sdb1
and test@test:~$sudo edquota -u test
/dev/sdb1 blocks soft hard inods soft hard
0 0 100 0 0 0
test@test:~$sudo quotaon /dev/sdb1
test@test:~$ touch /mnt/hd/test.txt
testtouch: cannot touch '/mnt/hd/test.txt' : prermission denied
test@test:~$sudo /etc/fstab
/dev/sdb1 /mnt/hd ext3 defaults,usrquota,grpquota 0 1
test@test:~$sudo quotaoff /dev/sdb1
test@test:~$sudo quotacheck -cug /dev/sdb1
and test@test:~$sudo edquota -u test
/dev/sdb1 blocks soft hard inods soft hard
0 0 100 0 0 0
test@test:~$sudo quotaon /dev/sdb1
test@test:~$ touch /mnt/hd/test.txt
testtouch: cannot touch '/mnt/hd/test.txt' : prermission denied