Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Anyone know if there is a way to limit the size of a directory? I have a directory that will be used for uploads from an html page served by the apache web server. I would like to only allow this directory to consume 10meg. Can this be done? I'm using RH 7.0
well i read this but: If i have a webserver and a ftp server.. it means two directories for one user, but different size to each one ... how can i do this ... quota? it seems not ...
funny .... 120 user (at this time) use this server ok .. no problem .. 120 user 120 passwords .. but: 240 users and each user you have to tell i'm sorry you have two passwords :-p ... ... THE USERS ON THIS SERVER have no idea how it works or something else --------> i've to send their password all day 24 hours ... i forgot the password i forgot the username .. how can i do this how can i do that ... :-) .. ok the password maybe the same but for the user it is no different in username and password, one string more that they have to know
Oh no, I mean create 2 users to own the 2 different directories, and then set quotas on those 2 users, not on 240. This would limit the size of the directory owned by that user.
but all 120 users have access to ftp server and a web directory for their homepage ...
but: with quota can i make a group or two ftp and web for example and two directories or 240 or more ... and own this to one user and this group .. and the group right limit the size?
yes or no?
and how i have to enter the quota ... quota -g ftp (and the size ???)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.