Mandatory file locking on Linux: sgid bit set by default on files . Possible?

"Steve Bright (IS Dept)" <[email protected]> Mon, 6 Dec 2004 10:59:48 -0000
Newsgroups gmane.network.ftp.wuftpd.user
Message-ID <2550D73982C9D711AAA800508BAE41BE028CFC39@new_wave_ntgrp.nwluk.co.uk>
Hi,

I need to use mandatory file locking on Linux to prevent users downloading a
file that is still being uploaded.  To enable the mandatory locking, the
sgid bit must be set at file creation (note: this is not related to sgid on
directories).  

I realise this is not possible with umask, but was wondering if there was a
configuration option or patch available to support this requirement?

Regards,
-- 
Steve Bright




_____________________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com