[Samba] Limit users storing BIG files

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Dec 11 08:58:17 MST 2009


On Fri, Dec 11, 2009 at 09:22:25PM +0530, S.Kani wrote:
> Thanks for your reply.
>
> Yes, several users under one linux user's space, so it seems like there 
> is no way to control this using linux or Samba.
>
> Only possible way is to write my own custom script to monitor the folders 
> and remove BIG files?

Well, you could always write a VFS module to monitor the
ftruncate and pwrite calls. I'm not sure this gains you a
lot, users are very creative when it comes to work around
restrictions. Remember, most archivers can split the files.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20091211/3f826633/attachment.pgp>


More information about the samba mailing list