I am working on a linux machine . i have a user name dave. i want to implement quota on /home/dave . that dave could not create more than 2 MB file in this main directory. user can create any sub directory contain so many files but size of each file should not more than 2 MB. Is it possible ? if yes then how ?
Asked
Active
Viewed 546 times
1
-
1You can edit /etc/security/limit.conf for desired file size limit per user or group. – pragnesh Dec 24 '13 at 08:55
-
...although note that limits set via this mechanism aren't tied to the filesystem (that is, they apply anywhere, not just under `/home/dave`, which may or may not be what you want). – larsks Dec 24 '13 at 13:29