how to limit file size for some user?

seachen

Verified User
Joined
Feb 3, 2007
Messages
491
i m the admin level of the DA.
may i know how to set file limit on some user.

eg. abc user can upload file up to 10mb, xyz user can upload file up tp 50mb.

can make it like that?

thank you
 
Nope, you cant limit with DA, but operating system can:


http://www.cyberciti.biz/faq/file-size-limit-exceeded-error-under-linux-and-solution/

Look for your username and fsize parameter. Delete this line or set new parameter. For example consider following entry where I am setting new file size limit to 1 GB:

vivek hard fsize 1024000

Save the changes. Log out and log back in for the changes to take effect.

Now your limit is 1GB file size. If you do not want any limit remove fsize from /etc/security/limits.conf.

or try look more google: http://www.google.fi/search?hl=fi&q=/etc/security/limits.conf+file+size&meta=
 
Back
Top