[Samba] Limit users storing BIG files

Eero Volotinen eero.volotinen at iki.fi
Fri Dec 11 08:58:42 MST 2009


On 12/11/09 5:58 PM, Volker Lendecke wrote:
> 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.

Well, SATA disks are cheaper that coding ...

--
Eero


More information about the samba mailing list