Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way to limit the maximum file size of files that users are allowed to upload to a samba (linux) share? I could not find anything in the documentation, but it seems like the kind of thing that should exist.

share|improve this question
up vote 2 down vote accepted

No, such a thing does not exist.

You can however set file-size limits with web servers (definitely NGINX, likely Apache, probably others) so using those to manage an upload/download site - or possibly WebDAV - could help you manage that restriction.

share|improve this answer
That is a good idea, I will do that. Thanks. I would vote you up, but I do not have enough reputation. – Matt Aug 21 '12 at 14:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.